/* WooCommerce My Account page fixes for nco-theme */

/* Better base spacing/typography */
.woocommerce-account .woocommerce{
	font-size:14px;
	line-height:1.55;
}

.woocommerce-account .woocommerce h1,
.woocommerce-account .woocommerce h2,
.woocommerce-account .woocommerce h3{
	color:#111;
	letter-spacing:-.01em;
}

.woocommerce-account .woocommerce h2{
	margin:0 0 12px;
	font-size:18px;
	font-weight:900;
}

.woocommerce-account .woocommerce p{color:#2a2a2a}

/* Modern two-column layout 
.woocommerce-account .woocommerce{
	display:grid;
	grid-template-columns:280px 1fr;
	gap:20px;
	align-items:start;
}*/

/* Navigation card */
.woocommerce-account .woocommerce-MyAccount-navigation{
	border:1px solid rgba(0,0,0,.10);
	border-radius:16px;
	background:linear-gradient(180deg, rgba(255,255,255,1), rgba(250,250,250,1));
	padding:14px;
	position:sticky;
	top:96px;
	height:fit-content;
	box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul{
	list-style:none;
	margin:0;
	padding:0;
	display:flex;
	flex-direction:column;
	gap:8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	padding:11px 12px;
	border-radius:14px;
	border:1px solid rgba(0,0,0,.08);
	background:#fff;
	color:#111;
	text-decoration:none;
	font-weight:800;
	transition:transform .12s ease, background .12s ease, border-color .12s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
	background:rgba(59,130,246,.06);
	border-color:rgba(59,130,246,.20);
	transform:translateY(-1px);
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
	border-color:rgba(59,130,246,.45);
	background:rgba(59,130,246,.12);
}

/* Content card */
.woocommerce-account .woocommerce-MyAccount-content{
	border:1px solid rgba(0,0,0,.10);
	border-radius:16px;
	background:#fff;
	padding:22px;
	min-width:0;
	box-shadow:0 10px 30px rgba(0,0,0,.06);
}

/* Notices */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error{
	border-radius:14px;
	padding:12px 14px;
	border:1px solid rgba(0,0,0,.10);
}

.woocommerce-account .woocommerce-message{background:rgba(34,197,94,.08);border-color:rgba(34,197,94,.25)}
.woocommerce-account .woocommerce-info{background:rgba(59,130,246,.08);border-color:rgba(59,130,246,.22)}
.woocommerce-account .woocommerce-error{background:rgba(239,68,68,.07);border-color:rgba(239,68,68,.22)}

/* Forms */
.woocommerce-account form.woocommerce-form,
.woocommerce-account .woocommerce form{
	max-width:820px;
}

.woocommerce-account .woocommerce form .form-row{
	margin-bottom:14px;
}

.woocommerce-account .woocommerce label{
	font-weight:800;
	color:#111;
	margin-bottom:6px;
	display:block;
}

.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account input[type="search"],
.woocommerce-account select,
.woocommerce-account textarea{
	width:100%;
	/*border:1px solid rgba(0,0,0,.18);*/
	border-radius:14px;
	padding:11px 12px;
	outline:none;
	background:#fff;
	transition:border-color .12s ease, box-shadow .12s ease;
}

.woocommerce-account input:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus{
	border-color:rgba(59,130,246,.55);
	box-shadow:0 0 0 4px rgba(59,130,246,.12);
}

/* Buttons */
.woocommerce-account button,
.woocommerce-account .button,
.woocommerce-account a.button{
	border-radius:14px;
	padding:10px 14px;
	font-weight:900;
}

.woocommerce-account .button,
.woocommerce-account button{
	background:#111;
	color:#fff;
	border:1px solid rgba(0,0,0,.25);
}

.woocommerce-account .button:hover,
.woocommerce-account button:hover{
	opacity:.92;
}

/* Tables */
.woocommerce-account table.shop_table{
	width:100%;
	border-collapse:separate;
	border-spacing:0;
	border:1px solid rgba(0,0,0,.10);
	border-radius:14px;
	overflow:hidden;
	background:#fff;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td{
	padding:12px 12px;
	border-bottom:1px solid rgba(0,0,0,.08);
	vertical-align:middle;
}

.woocommerce-account table.shop_table tr:last-child td{
	border-bottom:none;
}

.woocommerce-account table.shop_table thead th{
	background:rgba(0,0,0,.03);
	font-weight:900;
	color:#111;
}

/* Address boxes */
.woocommerce-account .woocommerce-Address{
	border:1px solid rgba(0,0,0,.10);
	border-radius:14px;
	padding:14px;
	background:rgba(0,0,0,.02);
}

/* Responsive */
@media (max-width: 1092px){
	.woocommerce-account .woocommerce{
		grid-template-columns:1fr;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation{
		position:static;
	}
}
