/* ============================================================
   NAUTICA — My Account
   CSS pulito: nessun override su classi del tema block FSE.
   Il layout è completamente gestito dal nostro template PHP
   standalone (public/templates/my-account-page.php).
   ============================================================ */

/* ── 1. LAYOUT PRINCIPALE ───────────────────────────────────── */

.nws-acc {
	background: #f1f5f9;
	min-height: 60vh;
	padding-top: 0;
	padding-bottom: 60px;
	/* Azzera qualsiasi padding iniettato dal blocco <main> del tema FSE */
	padding-inline-start: 0 !important;
	padding-inline-end: 0 !important;
}

.nws-acc__inner {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 16px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 36px 24px;
	align-items: start;
	box-sizing: border-box;
}

.nws-acc__sidebar-col {
	min-width: 0;
}

.nws-acc__body {
	min-width: 0;
}

/* Titoli H2 dentro il content WooCommerce */
.nws-acc__body .woocommerce-MyAccount-content > h2 {
	font-size: 20px;
	font-weight: 800;
	color: #0a2540;
	margin: 0 0 20px;
	padding: 0;
}

/* Messaggi WooCommerce */
.nws-acc__body .woocommerce-message,
.nws-acc__body .woocommerce-error,
.nws-acc__body .woocommerce-info {
	border-radius: 10px;
	border-top: none;
	border-left: 4px solid;
	padding: 14px 18px;
	font-size: 14px;
	margin: 0 0 20px;
}
.nws-acc__body .woocommerce-message { border-color: #16a34a; background: #f0fdf4; color: #15803d; }
.nws-acc__body .woocommerce-error   { border-color: #dc2626; background: #fef2f2; color: #b91c1c; }
.nws-acc__body .woocommerce-info    { border-color: #16b4e2; background: #e0f5fc; color: #0369a1; }

/* ── 2. SIDEBAR ─────────────────────────────────────────────── */

.nws-acc__sidebar {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 1px 12px rgba(10,37,64,.07);
	position: sticky;
	top: 100px;
}

/* Profilo */
.nws-acc__profile {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px 20px 18px;
	border-bottom: 1px solid #f1f5f9;
}

.nws-acc__avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(135deg, #0a2540, #16b4e2);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.nws-acc__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.nws-acc__avatar span {
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}

.nws-acc__profile-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	overflow: hidden;
}
.nws-acc__profile-info strong {
	font-size: 14px;
	font-weight: 700;
	color: #0a2540;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nws-acc__profile-info span {
	font-size: 12px;
	color: #94a3b8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Nav sidebar — reset WooCommerce defaults */
.nws-acc__nav,
.nws-acc__nav.woocommerce-MyAccount-navigation {
	display: block;
	float: none;
	width: auto;
}
.nws-acc__nav ul,
.nws-acc__nav.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 8px;
	display: block;
}
.nws-acc__nav li,
.nws-acc__nav.woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	float: none;
	display: block;
	width: auto;
	border: none;
}

.nws-acc__nav-divider {
	height: 1px;
	background: #f1f5f9;
	margin: 6px 4px;
}

/* Link voce nav — reset completo e stile custom */
.nws-acc__nav a.nws-acc__nav-link,
.nws-acc__nav .nws-acc__nav-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	text-decoration: none;
	color: #64748b;
	font-size: 14px;
	font-weight: 500;
	transition: background .15s, color .15s;
	white-space: nowrap;
	background: transparent;
	border: none;
	box-shadow: none;
}
.nws-acc__nav a.nws-acc__nav-link:hover,
.nws-acc__nav .nws-acc__nav-link:hover {
	background: #f8fafc;
	color: #0a2540;
	text-decoration: none;
}
/* Voce attiva — battono tutti i default WooCommerce (.is-active) */
.nws-acc__nav a.nws-acc__nav-link--active,
.nws-acc__nav .nws-acc__nav-link--active,
.nws-acc__nav li.is-active a.nws-acc__nav-link,
.woocommerce-MyAccount-navigation li.is-active a {
	background: #0a2540;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}
.nws-acc__nav a.nws-acc__nav-link--active:hover,
.nws-acc__nav li.is-active a.nws-acc__nav-link:hover {
	background: #0a2540;
	color: #fff;
}

.nws-acc__nav-icon {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	opacity: .7;
	width: 18px;
	height: 18px;
}
.nws-acc__nav-link--active .nws-acc__nav-icon,
li.is-active .nws-acc__nav-icon { opacity: 1; }

.nws-acc__nav-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.nws-acc__nav-dot {
	width: 6px;
	height: 6px;
	min-width: 6px;
	border-radius: 50%;
	background: #16b4e2;
	flex-shrink: 0;
}

/* Link logout */
.nws-acc__nav-item--logout a.nws-acc__nav-link { color: #ef4444; }
.nws-acc__nav-item--logout a.nws-acc__nav-link:hover {
	background: #fef2f2;
	color: #dc2626;
}

/* ── 3. TAB BAR MOBILE ───────────────────────────────────────── */
.nws-acc__tabs { display: none; }

/* ── 4. DASHBOARD ───────────────────────────────────────────── */

.nws-dash {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.nws-dash__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	background: linear-gradient(135deg, #0a2540 0%, #164e8f 100%);
	border-radius: 20px;
	padding: 28px 32px;
}

.nws-dash__hello {
	font-size: 26px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 4px;
	padding: 0;
	line-height: 1.2;
}

.nws-dash__sub {
	font-size: 14px;
	color: rgba(255,255,255,.65);
	margin: 0;
}

.nws-dash__shop-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 20px;
	background: rgba(255,255,255,.15);
	color: #fff;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	backdrop-filter: blur(4px);
	transition: background .15s;
	white-space: nowrap;
}
.nws-dash__shop-btn:hover { background: rgba(255,255,255,.25); }

/* Stats */
.nws-dash__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.nws-dash__stat {
	background: #fff;
	border-radius: 16px;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	box-shadow: 0 1px 6px rgba(10,37,64,.05);
}

.nws-dash__stat-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.nws-dash__stat-icon--blue   { background: #e0f5fc; color: #16b4e2; }
.nws-dash__stat-icon--green  { background: #dcfce7; color: #16a34a; }
.nws-dash__stat-icon--orange { background: #fef3c7; color: #d97706; }

.nws-dash__stat-body { display: flex; flex-direction: column; gap: 2px; }
.nws-dash__stat-val   { font-size: 22px; font-weight: 800; color: #0a2540; line-height: 1; }
.nws-dash__stat-label { font-size: 12px; color: #94a3b8; }

/* Sezioni */
.nws-dash__section {
	background: #fff;
	border-radius: 20px;
	padding: 22px 24px;
	box-shadow: 0 1px 6px rgba(10,37,64,.05);
}

.nws-dash__section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}
.nws-dash__section-head h2,
.nws-dash__section-head-title {
	font-size: 16px;
	font-weight: 700;
	color: #0a2540;
	margin: 0;
	padding: 0;
}
.nws-dash__section-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: #16b4e2;
	text-decoration: none;
	font-weight: 600;
}
.nws-dash__section-link:hover { text-decoration: underline; }

/* Mini ordini recenti nel dashboard */
.nws-dash__recent-orders {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.nws-dash__rorder {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f8fafc;
	text-decoration: none;
	transition: background .15s;
	gap: 12px;
}
.nws-dash__rorder:hover { background: #f1f5f9; }

.nws-dash__rorder-left { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nws-dash__rorder-num  { font-size: 13px; font-weight: 700; color: #0a2540; }
.nws-dash__rorder-items {
	font-size: 12px; color: #94a3b8;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.nws-dash__rorder-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nws-dash__rorder-status { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.nws-dash__rorder-total  { font-size: 14px; font-weight: 700; color: #0a2540; }

/* Azioni rapide */
.nws-dash__quick {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.nws-dash__quick-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px 14px;
	background: #f8fafc;
	border-radius: 14px;
	text-decoration: none;
	color: #374151;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	transition: background .15s, transform .15s;
	line-height: 1.3;
}
.nws-dash__quick-item:hover {
	background: #e0f5fc;
	color: #0a2540;
	transform: translateY(-2px);
}
.nws-dash__quick-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #16b4e2;
	box-shadow: 0 1px 6px rgba(10,37,64,.08);
}

/* ── 5. CARD ORDINI ─────────────────────────────────────────── */

.nws-orders {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nws-order-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 1px 8px rgba(10,37,64,.06);
	transition: box-shadow .2s, transform .2s;
	border-left: 4px solid transparent;
}
.nws-order-card:hover {
	box-shadow: 0 6px 24px rgba(10,37,64,.11);
	transform: translateY(-1px);
}
.nws-order-card--processing { border-left-color: #16b4e2; }
.nws-order-card--on-hold    { border-left-color: #6366f1; }
.nws-order-card--pending    { border-left-color: #f59e0b; }
.nws-order-card--cancelled,
.nws-order-card--failed     { border-left-color: #dc2626; }
.nws-order-card--refunded   { border-left-color: #7c3aed; }

.nws-order-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px 12px;
	gap: 12px;
	flex-wrap: wrap;
}
.nws-order-card__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nws-order-card__num  {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 14px; color: #0a2540;
}
.nws-order-card__num strong { font-weight: 700; }
.nws-order-card__date {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 13px; color: #94a3b8;
}
.nws-order-card__status {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 4px 12px; border-radius: 20px;
	font-size: 12px; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}

.nws-order-card__items {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 20px 12px;
	border-top: 1px solid #f1f5f9;
	border-bottom: 1px solid #f1f5f9;
}
.nws-order-card__thumbs { display: flex; gap: 6px; flex-shrink: 0; }
.nws-order-card__thumb {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	overflow: hidden;
	background: #f3f4f6;
	border: 1px solid #eaecf0;
	flex-shrink: 0;
}
.nws-order-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nws-order-card__thumb--more {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	color: #6b7280;
}
.nws-order-card__names {
	font-size: 13px; color: #4b5563; line-height: 1.5;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.nws-order-card__more { font-size: 12px; color: #94a3b8; }

.nws-order-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px 16px;
	gap: 12px;
	flex-wrap: wrap;
}
.nws-order-card__total       { display: flex; align-items: center; gap: 8px; }
.nws-order-card__total-label { font-size: 12px; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; }
.nws-order-card__total-val   { font-size: 18px; font-weight: 800; color: #0a2540; }
.nws-order-card__total-qty   { font-size: 12px; color: #94a3b8; }
.nws-order-card__actions     { display: flex; gap: 8px; flex-wrap: wrap; }

.nws-order-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: filter .15s, transform .12s;
	white-space: nowrap;
}
.nws-order-card__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.nws-order-card__btn--primary { background: #0a2540; color: #fff; }
.nws-order-card__btn--ghost   { background: #f1f5f9; color: #374151; }

/* Paginazione */
.nws-orders-pagination {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}
.nws-orders-pagination__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: 8px;
	background: #fff;
	color: #0a2540;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 1px 6px rgba(10,37,64,.08);
}

/* Stato vuoto */
.nws-orders-empty {
	text-align: center;
	padding: 60px 24px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 1px 8px rgba(10,37,64,.06);
}
.nws-orders-empty__title { font-size: 18px; font-weight: 700; color: #0a2540; margin: 16px 0 8px; }
.nws-orders-empty__sub   { font-size: 14px; color: #94a3b8; margin: 0 0 24px; }
.nws-orders-empty__btn {
	display: inline-flex;
	align-items: center;
	padding: 11px 28px;
	background: #0a2540;
	color: #fff;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

/* ── 6. VIEW ORDER / DETTAGLIO ──────────────────────────────── */

.nws-acc__body .woocommerce-order-overview,
.nws-acc__body .woocommerce-order-details,
.nws-acc__body .woocommerce-customer-details,
.nws-acc__body .woocommerce-EditAccountForm,
.nws-acc__body .woocommerce-address-fields,
.nws-acc__body .woocommerce-MyAccount-downloads,
.nws-acc__body .woocommerce-MyAccount-paymentMethods {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 16px;
	box-shadow: 0 1px 6px rgba(10,37,64,.05);
}

/* Testo intro ordine */
.nws-acc__body .woocommerce-MyAccount-content > p:first-child {
	background: #fff;
	border-radius: 16px;
	padding: 18px 24px;
	margin: 0 0 16px;
	font-size: 14px;
	color: #64748b;
	line-height: 1.7;
	box-shadow: 0 1px 6px rgba(10,37,64,.05);
}
.nws-acc__body mark.order-number,
.nws-acc__body mark.order-date {
	background: none;
	font-weight: 700;
	color: #0a2540;
}
.nws-acc__body mark.order-status {
	background: #dcfce7;
	font-weight: 700;
	color: #15803d;
	padding: 2px 10px;
	border-radius: 20px;
	font-size: 12px;
}

/* Riepilogo ordine (lista orizzontale) */
.nws-acc__body .woocommerce-order-overview {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 16px;
}
.nws-acc__body .woocommerce-order-overview li {
	flex: 1;
	min-width: 120px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
	color: #94a3b8;
	font-weight: 500;
	padding: 0;
	border: none;
}
.nws-acc__body .woocommerce-order-overview li strong {
	font-size: 16px;
	font-weight: 700;
	color: #0a2540;
	display: block;
}

/* Titoli H2 dentro il content (vista ordine) */
.nws-acc__body .woocommerce-MyAccount-content h2 {
	font-size: 16px;
	font-weight: 700;
	color: #0a2540;
	margin: 0 0 16px;
	padding: 0;
}

/* Tabella shop_table */
.nws-acc__body table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border: none;
}
.nws-acc__body table.shop_table thead th {
	background: #f8fafc;
	color: #64748b;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 10px 14px;
	border-bottom: 2px solid #f1f5f9;
	text-align: left;
}
.nws-acc__body table.shop_table tbody td {
	padding: 12px 14px;
	border-bottom: 1px solid #f1f5f9;
	color: #374151;
	vertical-align: middle;
	font-size: 14px;
}
.nws-acc__body table.shop_table tbody tr:last-child td { border-bottom: none; }
.nws-acc__body table.shop_table tfoot th,
.nws-acc__body table.shop_table tfoot td {
	padding: 10px 14px;
	border-top: 2px solid #f1f5f9;
	font-size: 14px;
	color: #0a2540;
	font-weight: 600;
}
.nws-acc__body table.shop_table tfoot tr:last-child th,
.nws-acc__body table.shop_table tfoot tr:last-child td {
	font-size: 16px;
	font-weight: 800;
}

/* Intro indirizzi */
.nws-acc__body .nws-addr-intro {
	font-size: 14px !important;
	color: #64748b !important;
	margin: 0 0 20px !important;
	line-height: 1.6 !important;
}

/* Grid indirizzi — struttura nostra, niente classi WooCommerce float */
.nws-acc__body .nws-addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.nws-acc__body .nws-address-card {
	background: #fff;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 1px 6px rgba(10,37,64,.06);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nws-acc__body .nws-address-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.nws-acc__body .nws-address-card__title {
	font-size: 13px;
	font-weight: 700;
	color: #0a2540;
	text-transform: uppercase;
	letter-spacing: .04em;
	line-height: 1.3;
}

.nws-acc__body .nws-address-card__edit {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #16b4e2;
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
}
.nws-acc__body .nws-address-card__edit:hover { text-decoration: underline; }

.nws-acc__body .nws-address-card__address {
	font-size: 13px;
	color: #64748b;
	line-height: 1.7;
	font-style: normal;
}
.nws-acc__body .nws-address-card__empty {
	font-size: 13px;
	color: #94a3b8;
	font-style: italic;
}

/* ── 7. BOTTONI WooCommerce ─────────────────────────────────── */

.nws-acc__body .button,
.nws-acc__body .woocommerce-button,
.nws-acc__body button[type="submit"],
.nws-acc__body input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 11px 24px;
	background: #0a2540;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: filter .15s, transform .12s;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
}
.nws-acc__body .button:hover,
.nws-acc__body .woocommerce-button:hover,
.nws-acc__body button[type="submit"]:hover,
.nws-acc__body input[type="submit"]:hover {
	filter: brightness(1.15);
	transform: translateY(-1px);
	color: #fff;
}

/* ── 8. FORM (modifica dati, indirizzi) ─────────────────────── */

.nws-acc__body .woocommerce-form-row,
.nws-acc__body .form-row {
	margin-bottom: 16px;
	padding: 0;
}

.nws-acc__body .woocommerce-EditAccountForm,
.nws-acc__body .woocommerce-address-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}
.nws-acc__body .woocommerce-form-row--wide,
.nws-acc__body .form-row-wide {
	grid-column: 1 / -1;
}
.nws-acc__body fieldset {
	grid-column: 1 / -1;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	margin: 8px 0 16px;
}
.nws-acc__body fieldset legend {
	font-size: 13px;
	font-weight: 700;
	color: #0a2540;
	padding: 0 8px;
}

/* Reset testo generico dentro i form — il tema FSE alza il font-size dei paragrafi */
.nws-acc__body .woocommerce-MyAccount-content p,
.nws-acc__body .woocommerce-EditAccountForm p,
.nws-acc__body .woocommerce-address-fields p,
.nws-acc__body .woocommerce-MyAccount-content span,
.nws-acc__body .woocommerce-EditAccountForm .woocommerce-form-row span,
.nws-acc__body .woocommerce-EditAccountForm em,
.nws-acc__body .description {
	font-size: 13px !important;
	line-height: 1.6 !important;
	color: #64748b !important;
	font-weight: 400 !important;
	margin: 0 0 4px !important;
}

.nws-acc__body .woocommerce-form-row label,
.nws-acc__body .form-row label {
	display: block;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #374151 !important;
	margin-bottom: 6px !important;
	line-height: 1.4 !important;
}
.nws-acc__body .required { color: #ef4444; }

.nws-acc__body .woocommerce-Input,
.nws-acc__body .input-text,
.nws-acc__body input[type="text"],
.nws-acc__body input[type="email"],
.nws-acc__body input[type="password"],
.nws-acc__body input[type="tel"],
.nws-acc__body select,
.nws-acc__body textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	font-size: 14px;
	color: #0a2540;
	background: #fff;
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
	box-shadow: none;
	outline: none;
}
.nws-acc__body .woocommerce-Input:focus,
.nws-acc__body .input-text:focus,
.nws-acc__body input[type="text"]:focus,
.nws-acc__body input[type="email"]:focus,
.nws-acc__body input[type="password"]:focus,
.nws-acc__body select:focus,
.nws-acc__body textarea:focus {
	border-color: #16b4e2;
	box-shadow: 0 0 0 3px rgba(22,180,226,.12);
}

/* ── 9. MOBILE ──────────────────────────────────────────────── */

@media (max-width: 820px) {

	.nws-acc__inner {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 0 0 80px;
	}

	/* Sidebar nascosta su mobile */
	.nws-acc__sidebar { display: none; }

	/* Tab bar fissa in basso */
	.nws-acc__tabs {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 999;
		background: #fff;
		border-top: 1px solid #e2e8f0;
		box-shadow: 0 -4px 20px rgba(10,37,64,.10);
		overflow-x: auto;
		scrollbar-width: none;
	}
	.nws-acc__tabs::-webkit-scrollbar { display: none; }

	.nws-acc__tab {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
		padding: 10px 14px 12px;
		text-decoration: none;
		color: #94a3b8;
		font-size: 10px;
		font-weight: 600;
		flex: 1;
		min-width: 60px;
		transition: color .15s;
		text-align: center;
	}
	.nws-acc__tab--active { color: #0a2540; }
	.nws-acc__tab-icon    { display: flex; align-items: center; }
	.nws-acc__tab-label   { white-space: nowrap; }

	/* Contenuto mobile */
	.nws-acc__body { padding: 16px 16px 0; }

	/* Dashboard mobile */
	.nws-dash__header { padding: 20px; border-radius: 16px; }
	.nws-dash__hello  { font-size: 20px; }
	.nws-dash__shop-btn { display: none; }

	.nws-dash__stats { grid-template-columns: 1fr 1fr; }
	.nws-dash__stats .nws-dash__stat:last-child { grid-column: 1 / -1; }
	.nws-dash__quick { grid-template-columns: 1fr 1fr 1fr; }

	.nws-order-card__thumbs { display: none; }
	.nws-order-card__total-val { font-size: 15px; }

	/* Form e indirizzi mobile */
	.nws-acc__body .woocommerce-EditAccountForm,
	.nws-acc__body .woocommerce-address-fields__field-wrapper,
	.nws-acc__body .nws-addresses {
		grid-template-columns: 1fr !important;
	}
	.nws-acc__body .woocommerce-order-overview { gap: 10px; }
	.nws-acc__body .woocommerce-order-overview li { min-width: 0; }

	.nws-acc__body .woocommerce-order-overview,
	.nws-acc__body .woocommerce-order-details,
	.nws-acc__body .woocommerce-customer-details,
	.nws-acc__body .woocommerce-EditAccountForm,
	.nws-acc__body .woocommerce-address-fields { padding: 16px; }
}

@media (max-width: 480px) {
	.nws-dash__stats .nws-dash__stat:last-child { grid-column: auto; }
	.nws-dash__stats { grid-template-columns: 1fr; }
	.nws-dash__quick { grid-template-columns: 1fr 1fr; }
}
