/**
 * Starter Adult Shop — My Account Page Styles
 * Dark tech-seductive aesthetic with rich visuals
 */

/* ===== Page background & .site-main override ===== */
.woocommerce-account .site-main {
	max-width: 1200px !important;
	width: 100% !important;
	padding: 3rem 2rem 4rem !important;
	box-sizing: border-box !important;
}
@media (min-width: 576px) { .woocommerce-account .site-main { max-width: 1200px !important; } }
@media (min-width: 768px) { .woocommerce-account .site-main { max-width: 1200px !important; } }
@media (min-width: 992px) { .woocommerce-account .site-main { max-width: 1200px !important; } }
@media (min-width: 1200px) { .woocommerce-account .site-main { max-width: 1200px !important; } }

/* Dark page background */
body.woocommerce-account {
	background: #0e0a14 !important;
}
body.woocommerce-account .site-main {
	background: transparent !important;
}

/* Hide default page title */
.woocommerce-account .page-header { display: none; }

/* ===== Account page wrapper — welcome banner ===== */
.sas-account-banner {
	background: linear-gradient(135deg, #1a1028 0%, #2d1f3d 50%, #1a1028 100%);
	border-radius: 16px;
	padding: 2.5rem 3rem;
	margin-bottom: 2rem;
	border: 1px solid rgba(232, 98, 138, .15);
	position: relative;
	overflow: hidden;
}
.sas-account-banner::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(232, 98, 138, .15) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.sas-account-banner::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: 10%;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(168, 85, 247, .1) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.sas-account-banner__greeting {
	font-family: 'Playfair Display', serif;
	font-size: 1.6rem;
	color: #fff;
	margin: 0 0 .5rem;
	position: relative;
	z-index: 1;
}
.sas-account-banner__greeting span {
	background: linear-gradient(135deg, #e8628a, #a855f7);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.sas-account-banner__sub {
	color: rgba(255, 255, 255, .5);
	font-size: .875rem;
	margin: 0;
	position: relative;
	z-index: 1;
}

/* ===== Clearfix for float layout ===== */
.woocommerce-account .woocommerce::after {
	content: "";
	display: table;
	clear: both;
}

/* Banner spans full width above floated elements */
.sas-account-banner {
	float: none !important;
	clear: both;
	width: 100%;
}

/* ===== Navigation ===== */
.woocommerce-account .woocommerce-MyAccount-navigation {
	float: left;
	width: 25%;
	background: linear-gradient(180deg, #1a1028 0%, #150d20 100%);
	border-radius: 16px;
	padding: 1rem 0;
	border: 1px solid rgba(232, 98, 138, .1);
	box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
	position: sticky;
	top: 90px;
	box-sizing: border-box;
}
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.woocommerce-MyAccount-navigation ul li {
	margin: 0;
	padding: 0;
}
.woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .85rem 1.5rem;
	color: rgba(255, 255, 255, .5);
	text-decoration: none;
	font-size: .85rem;
	font-weight: 500;
	font-family: 'Inter', sans-serif;
	transition: all .3s ease;
	border-left: 3px solid transparent;
	position: relative;
}
.woocommerce-MyAccount-navigation ul li a:hover {
	color: #f48ba6;
	background: rgba(232, 98, 138, .06);
	border-left-color: rgba(232, 98, 138, .4);
}
.woocommerce-MyAccount-navigation ul li.is-active a {
	color: #fff;
	background: linear-gradient(90deg, rgba(232, 98, 138, .15) 0%, transparent 100%);
	border-left-color: #e8628a;
	font-weight: 600;
}
.woocommerce-MyAccount-navigation ul li.is-active a::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
	height: 60%;
	background: #e8628a;
	border-radius: 3px;
	opacity: .5;
}
/* Nav icons */
.woocommerce-MyAccount-navigation-link--dashboard a::before { content: '📊'; font-size: 1rem; }
.woocommerce-MyAccount-navigation-link--orders a::before { content: '📦'; font-size: 1rem; }
.woocommerce-MyAccount-navigation-link--downloads a::before { content: '⬇️'; font-size: 1rem; }
.woocommerce-MyAccount-navigation-link--edit-address a::before { content: '📍'; font-size: 1rem; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: '⚙️'; font-size: 1rem; }
.woocommerce-MyAccount-navigation-link--payment-methods a::before { content: '💳'; font-size: 1rem; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: '🚪'; font-size: 1rem; }
.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: .5rem;
	border-top: 1px solid rgba(255, 255, 255, .05);
	padding-top: .5rem;
}
.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	color: #ff6b6b;
	border-left-color: rgba(255, 107, 107, .4);
	background: rgba(255, 107, 107, .06);
}

/* ===== Content Area ===== */
.woocommerce-account .woocommerce-MyAccount-content {
	float: right;
	width: 72%;
	background: linear-gradient(180deg, #1a1028 0%, #150d20 100%);
	border-radius: 16px;
	padding: 2.5rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
	border: 1px solid rgba(232, 98, 138, .08);
	min-height: 400px;
	box-sizing: border-box;
	color: rgba(255, 255, 255, .7);
}
.woocommerce-MyAccount-content > p {
	font-size: .95rem;
	line-height: 1.8;
	color: rgba(255, 255, 255, .55);
}
.woocommerce-MyAccount-content > p a {
	color: #e8628a;
	text-decoration: none;
	font-weight: 600;
	transition: color .2s;
}
.woocommerce-MyAccount-content > p a:hover { color: #f48ba6; }
.woocommerce-MyAccount-content > p strong { color: #fff; }
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
	font-family: 'Playfair Display', serif;
	color: #fff;
	font-weight: 600;
	margin: 0 0 1.25rem;
}
.woocommerce-MyAccount-content h2 { font-size: 1.35rem; }
.woocommerce-MyAccount-content h3 { font-size: 1.1rem; }

/* ===== Dashboard quick-action cards ===== */
.sas-dash-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 1.5rem;
}
.sas-dash-card {
	background: rgba(255, 255, 255, .03);
	border: 1px solid rgba(232, 98, 138, .1);
	border-radius: 12px;
	padding: 1.5rem;
	text-decoration: none;
	transition: all .3s ease;
	position: relative;
	overflow: hidden;
}
.sas-dash-card:hover {
	background: rgba(232, 98, 138, .06);
	border-color: rgba(232, 98, 138, .25);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(232, 98, 138, .1);
}
.sas-dash-card__icon {
	font-size: 1.5rem;
	margin-bottom: .75rem;
	display: block;
}
.sas-dash-card__title {
	color: #fff;
	font-size: .85rem;
	font-weight: 600;
	font-family: 'Inter', sans-serif;
	margin-bottom: .35rem;
}
.sas-dash-card__desc {
	color: rgba(255, 255, 255, .4);
	font-size: .75rem;
	line-height: 1.5;
}
.sas-dash-card::after {
	content: '→';
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	color: rgba(232, 98, 138, .3);
	font-size: 1rem;
	transition: all .3s;
}
.sas-dash-card:hover::after {
	color: #e8628a;
	transform: translateX(3px);
}

/* ===== Tables (dark theme) ===== */
.woocommerce-orders-table,
.woocommerce-MyAccount-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(232, 98, 138, .1);
	font-size: .85rem;
}
.woocommerce-orders-table thead th,
.woocommerce-MyAccount-content table thead th {
	background: rgba(232, 98, 138, .08);
	color: rgba(255, 255, 255, .8);
	font-weight: 600;
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	padding: .85rem 1rem;
	text-align: left;
	border: none;
	border-bottom: 1px solid rgba(232, 98, 138, .1);
}
.woocommerce-orders-table tbody td,
.woocommerce-MyAccount-content table tbody td {
	padding: .85rem 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, .04);
	color: rgba(255, 255, 255, .6);
	vertical-align: middle;
}
.woocommerce-orders-table tbody tr:last-child td { border-bottom: none; }
.woocommerce-orders-table tbody tr:hover td { background: rgba(232, 98, 138, .04); }

/* ===== Buttons ===== */
.woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-MyAccount-content .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #e8628a, #d4507a);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: .55rem 1.2rem;
	font-size: .75rem;
	font-weight: 600;
	font-family: 'Inter', sans-serif;
	text-transform: uppercase;
	letter-spacing: .04em;
	text-decoration: none;
	cursor: pointer;
	transition: all .3s ease;
}
.woocommerce-MyAccount-content .woocommerce-button:hover,
.woocommerce-MyAccount-content .button:hover {
	background: linear-gradient(135deg, #f48ba6, #e8628a);
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(232, 98, 138, .3);
}

/* ===== Forms (dark) ===== */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm,
.woocommerce-MyAccount-content .woocommerce-address-fields { max-width: 560px; }
.woocommerce-MyAccount-content .woocommerce-form-row,
.woocommerce-MyAccount-content .form-row { margin-bottom: 1.25rem; }
.woocommerce-MyAccount-content .woocommerce-form-row label,
.woocommerce-MyAccount-content .form-row label {
	display: block;
	font-size: .8rem;
	font-weight: 600;
	color: rgba(255, 255, 255, .7);
	margin-bottom: .4rem;
}
.woocommerce-MyAccount-content .form-row label .required { color: #e8628a; }
.woocommerce-MyAccount-content .woocommerce-Input,
.woocommerce-MyAccount-content .input-text,
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
	width: 100%;
	padding: .7rem 1rem;
	border: 1px solid rgba(232, 98, 138, .15);
	border-radius: 8px;
	font-size: .875rem;
	font-family: 'Inter', sans-serif;
	color: #fff;
	background: rgba(255, 255, 255, .05);
	transition: border-color .25s ease, box-shadow .25s ease;
	box-sizing: border-box;
}
.woocommerce-MyAccount-content .woocommerce-Input:focus,
.woocommerce-MyAccount-content .input-text:focus,
.woocommerce-MyAccount-content select:focus {
	outline: none;
	border-color: #e8628a;
	box-shadow: 0 0 0 3px rgba(232, 98, 138, .15);
	background: rgba(255, 255, 255, .08);
}

/* ===== Addresses (dark) ===== */
.woocommerce-MyAccount-content .woocommerce-Addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}
.woocommerce-MyAccount-content .woocommerce-Address {
	background: rgba(255, 255, 255, .03);
	border-radius: 12px;
	padding: 1.5rem;
	border: 1px solid rgba(232, 98, 138, .1);
}
.woocommerce-MyAccount-content .woocommerce-Address header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	padding-bottom: .75rem;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.woocommerce-MyAccount-content .woocommerce-Address header h3 { margin: 0; font-size: 1rem; color: #fff; }
.woocommerce-MyAccount-content .woocommerce-Address header a {
	color: #e8628a;
	font-size: .8rem;
	font-weight: 600;
	text-decoration: none;
}
.woocommerce-MyAccount-content .woocommerce-Address address {
	font-style: normal;
	color: rgba(255, 255, 255, .5);
	font-size: .875rem;
	line-height: 1.7;
}

/* ===== Login / Register (dark) ===== */
.woocommerce-account .u-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	max-width: 960px;
	margin: 0 auto;
}
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
	background: linear-gradient(180deg, #1a1028, #150d20);
	border-radius: 16px;
	padding: 2.5rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
	border: 1px solid rgba(232, 98, 138, .1);
}
.woocommerce-account .u-columns h2 {
	font-family: 'Playfair Display', serif;
	font-size: 1.25rem;
	color: #fff;
	margin: 0 0 1.5rem;
	font-weight: 600;
}
.woocommerce-account .woocommerce-form-login label,
.woocommerce-account .woocommerce-form-register label {
	color: rgba(255, 255, 255, .7);
}
.woocommerce-account .woocommerce-form-login .input-text,
.woocommerce-account .woocommerce-form-register .input-text {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(232, 98, 138, .15);
	color: #fff;
	border-radius: 8px;
	padding: .7rem 1rem;
}
.woocommerce-account .woocommerce-form-login .input-text:focus,
.woocommerce-account .woocommerce-form-register .input-text:focus {
	border-color: #e8628a;
	box-shadow: 0 0 0 3px rgba(232, 98, 138, .15);
}
.woocommerce-account .woocommerce-form-login .button,
.woocommerce-account .woocommerce-form-register .button {
	background: linear-gradient(135deg, #e8628a, #d4507a);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: .7rem 2rem;
	font-weight: 600;
	cursor: pointer;
	transition: all .3s;
}
.woocommerce-account .woocommerce-form-login .button:hover,
.woocommerce-account .woocommerce-form-register .button:hover {
	box-shadow: 0 6px 20px rgba(232, 98, 138, .3);
}
.woocommerce-account .woocommerce-LostPassword a {
	color: #e8628a;
	font-size: .8rem;
	text-decoration: none;
}

/* ===== Notices (dark) ===== */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-account .woocommerce-message {
	background: rgba(232, 98, 138, .08);
	border-left: 4px solid #e8628a;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	font-size: .875rem;
	color: rgba(255, 255, 255, .8);
}
.woocommerce-MyAccount-content .woocommerce-error {
	background: rgba(229, 62, 62, .1);
	border-left: 4px solid #e53e3e;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	color: #fca5a5;
	list-style: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	.woocommerce-account .site-main { padding: 1.5rem 1rem 3rem !important; }
	.sas-account-banner { padding: 1.5rem; margin-bottom: 1.5rem; }
	.sas-account-banner__greeting { font-size: 1.2rem; }
	.sas-dash-cards { grid-template-columns: 1fr; }
	.woocommerce-account .woocommerce-MyAccount-navigation {
		float: none;
		width: 100%;
		position: static;
		border-radius: 12px;
		margin-bottom: 1.5rem;
	}
	.woocommerce-account .woocommerce-MyAccount-content {
		float: none;
		width: 100%;
		padding: 1.5rem;
		border-radius: 12px;
	}
	.woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		gap: .25rem;
		padding: .75rem 1rem;
	}
	.woocommerce-MyAccount-navigation ul li a {
		padding: .5rem .85rem;
		border-left: none;
		border-radius: 8px;
		font-size: .75rem;
	}
	.woocommerce-MyAccount-navigation ul li.is-active a {
		border-left: none;
		background: rgba(232, 98, 138, .15);
	}
	.woocommerce-MyAccount-navigation ul li.is-active a::after { display: none; }
	.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 0; border-top: none; padding-top: 0; }
	.woocommerce-MyAccount-content .woocommerce-Addresses { grid-template-columns: 1fr; }
	.woocommerce-account .u-columns { grid-template-columns: 1fr; gap: 1.5rem; }
	.woocommerce-orders-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
