/* WooCommerce Account Makeover v1.3 */
.woocommerce-account .woocommerce {
	--wcam-blue: #2f9fea;
	--wcam-blue-dark: #167fca;
	--wcam-ink: #151515;
	--wcam-muted: #6d7378;
	--wcam-line: #e7eaed;
	--wcam-card: #ffffff;
	--wcam-soft: #f6f9fb;
}

.woocommerce-account .woocommerce-page-title,
.woocommerce-account .entry-title,
.woocommerce-account .page-title,
.woocommerce-account .wp-block-post-title { display: none !important; }

.wcam-account-shell-title {
	margin: 0 0 18px;
	color: var(--wcam-ink);
	font-size: clamp(30px, 5vw, 44px);
	font-weight: 600;
	line-height: 1.1;
	text-align: left;
}

.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: 100%; margin: 0 0 28px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 11px 16px;
	border: 1px solid var(--wcam-line);
	border-radius: 999px;
	background: #fff;
	color: var(--wcam-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { border-color: var(--wcam-blue); background: var(--wcam-blue); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; margin: 0; padding: 0; }

/* Exactly one profile block, centered. */
.wcam-profile-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 0 0 22px;
	text-align: center;
}
.wcam-avatar-button {
	position: relative;
	display: block;
	width: 96px;
	height: 96px;
	padding: 0;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #eef7fc;
	box-shadow: 0 8px 25px rgba(20,40,55,.14);
	cursor: pointer;
	overflow: hidden;
}
.wcam-avatar-button img,
.wcam-avatar-button img.avatar,
.wcam-avatar-button .wcam-avatar-img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	object-fit: cover !important;
}
.wcam-avatar-overlay {
	position: absolute;
	inset: auto 0 0;
	padding: 7px 4px;
	background: rgba(0,0,0,.62);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	opacity: 0;
	transition: opacity .15s ease;
}
.wcam-avatar-button:hover .wcam-avatar-overlay,
.wcam-avatar-button:focus-visible .wcam-avatar-overlay { opacity: 1; }
.wcam-profile-name { color: #4d555b; font-size: 16px; font-weight: 700; line-height: 1.3; }
.wcam-avatar-status { min-height: 18px; color: var(--wcam-blue-dark); font-size: 14px; font-weight: 600; }

/* Hide identity/avatar UI supplied by the theme or another account widget. */
.woocommerce-account .woocommerce-MyAccount-navigation img.avatar,
.woocommerce-account .woocommerce-MyAccount-navigation img[class*="avatar"],
.woocommerce-account .woocommerce-MyAccount-navigation .user-avatar,
.woocommerce-account .woocommerce-MyAccount-navigation .profile-avatar,
.woocommerce-account .woocommerce-MyAccount-navigation .account-avatar,
.woocommerce-account .woocommerce-MyAccount-navigation .account-user,
.woocommerce-account .woocommerce-MyAccount-navigation .user-profile { display: none !important; }

.wcam-dashboard-page .woocommerce-MyAccount-navigation ul { justify-content: center; align-items: center; }

.wcam-welcome {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin: 0 0 18px;
	padding: 30px 32px;
	border: 1px solid var(--wcam-line);
	border-radius: 22px;
	background: linear-gradient(135deg, #fff 0%, #f3f9fd 100%);
	box-shadow: 0 12px 35px rgba(20,40,55,.07);
}
.wcam-eyebrow { display: inline-block; margin-bottom: 8px; color: var(--wcam-blue-dark); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.wcam-welcome h2 { margin: 0 0 7px; color: var(--wcam-ink); font-size: clamp(26px, 3vw, 38px); font-weight: 650; line-height: 1.1; letter-spacing: -.03em; }
.wcam-welcome p { max-width: 620px; margin: 0; color: var(--wcam-muted); font-size: 15px; line-height: 1.6; }
.wcam-welcome-actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 9px; min-width: 155px; }
.wcam-welcome-actions a { text-align: center; text-decoration: none !important; }
.wcam-primary,.wcam-secondary { display: inline-block; padding: 12px 18px; border-radius: 11px; font-size: 14px; font-weight: 700; }
.wcam-primary { background: var(--wcam-blue); color: #fff !important; }
.wcam-primary:hover { background: var(--wcam-blue-dark); }
.wcam-secondary { border: 1px solid var(--wcam-line); background: #fff; color: var(--wcam-ink) !important; }
.wcam-stat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 0 0 28px; }
.wcam-stat { display:flex; align-items:center; gap:14px; min-height:82px; padding:17px 18px; border:1px solid var(--wcam-line); border-radius:17px; background:#fff; color:var(--wcam-ink); text-decoration:none !important; box-shadow:0 7px 22px rgba(20,40,55,.045); }
.wcam-stat-icon { display:grid; width:42px; height:42px; flex:0 0 42px; place-items:center; border-radius:12px; background:#eaf6fd; color:var(--wcam-blue-dark); font-size:21px; font-weight:700; }
.wcam-stat strong,.wcam-stat small { display:block; }
.wcam-stat strong { margin-bottom:3px; font-size:15px; line-height:1.25; }
.wcam-stat small { color:var(--wcam-muted); font-size:12px; line-height:1.35; }

.woocommerce-account .woocommerce-MyAccount-content table.shop_table { border-collapse:separate; border-spacing:0; overflow:hidden; border:1px solid var(--wcam-line); border-radius:16px; background:#fff; }
.woocommerce-account .woocommerce-MyAccount-content table.shop_table th { background:var(--wcam-soft); font-size:12px; letter-spacing:.03em; text-transform:uppercase; }
.woocommerce-account .woocommerce-MyAccount-content table.shop_table td,.woocommerce-account .woocommerce-MyAccount-content table.shop_table th { padding:14px 15px; border-color:var(--wcam-line); }
.woocommerce-account .woocommerce-MyAccount-content input.input-text,.woocommerce-account .woocommerce-MyAccount-content select,.woocommerce-account .woocommerce-MyAccount-content textarea { min-height:46px; border:1px solid #dfe4e8; border-radius:10px; box-shadow:none; }
.woocommerce-account .woocommerce-MyAccount-content input.input-text:focus,.woocommerce-account .woocommerce-MyAccount-content select:focus,.woocommerce-account .woocommerce-MyAccount-content textarea:focus { border-color:var(--wcam-blue); box-shadow:0 0 0 3px rgba(47,159,234,.13); outline:none; }
.woocommerce-account .woocommerce-MyAccount-content button,.woocommerce-account .woocommerce-MyAccount-content .button { border:0; border-radius:10px; background:var(--wcam-blue); color:#fff; font-weight:700; }
.woocommerce-account .woocommerce-MyAccount-content button:hover,.woocommerce-account .woocommerce-MyAccount-content .button:hover { background:var(--wcam-blue-dark); }

@media (max-width:700px) {
	.wcam-account-shell-title { margin-bottom: 16px; font-size: 34px; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-wrap:nowrap; overflow-x:auto; padding-bottom:3px; scrollbar-width:none; justify-content:flex-start; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display:none; }
	.woocommerce-account .woocommerce-MyAccount-navigation a { white-space:nowrap; padding:10px 14px; font-size:13px; }
	.wcam-profile-head { margin-bottom:20px; }
	.wcam-avatar-button { width:88px; height:88px; }
	.wcam-welcome { display:block; padding:24px 20px; border-radius:18px; }
	.wcam-welcome-actions { margin-top:20px; display:grid; grid-template-columns:1fr 1fr; }
	.wcam-stat-grid { grid-template-columns:1fr; gap:10px; }
	.wcam-stat { min-height:70px; }
}
@media (max-width:430px) {
	.wcam-welcome-actions { grid-template-columns:1fr; }
	.wcam-welcome h2 { font-size:28px; }
}
