/**
 * Wcommero Pro — My Account Elementor widgets (wrappers only; WooCommerce templates provide layout).
 */

.szp-myaccount-skin,
.szp-myaccount-full {
	--szp-ma-border: #e4e6ed;
	--szp-ma-radius: 10px;
	--szp-ma-btn: var(--storzen-theme, #ff3636);
	--szp-ma-btn-text: var(--storzen-white, #fff);
}

.szp-myaccount-widget-placeholder {
	padding: 16px;
	border: 1px dashed #ccc;
	border-radius: 6px;
	background: #f9f9f9;
	font-size: 13px;
	color: #555;
}

.szp-myaccount-widget-placeholder--warn {
	border-color: #c77;
	background: #fff8f8;
}

.szp-myaccount-logged-in-msg {
	padding: 12px 16px;
	margin: 0 0 16px;
	background: #f4f6ff;
	border: 1px solid #c5cce8;
	border-radius: 8px;
	font-size: 14px;
}

/* Full My Account Widget with Tabs */
.szp-myaccount-full {
	width: 100%;
	max-width: 100%;
}

.szp-myaccount-full-wrapper {
	display: flex;
	gap: 30px;
	width: 100%;
}

/* Horizontal Layout (Default - Tabs on Left) */
.szp-myaccount-layout-horizontal .szp-myaccount-full-wrapper {
	flex-direction: row;
}

/* Vertical Layout (Tabs on Top) */
.szp-myaccount-layout-vertical .szp-myaccount-full-wrapper {
	flex-direction: column;
}

/* Navigation Styles */
.szp-myaccount-full-nav {
	background: #f8f9fa;
	padding: 20px;
	border-radius: var(--szp-ma-radius);
	flex-shrink: 0;
}

.szp-myaccount-layout-horizontal .szp-myaccount-full-nav {
	width: 25%;
	min-width: 200px;
}

.szp-myaccount-layout-vertical .szp-myaccount-full-nav {
	width: 100%;
}

.szp-myaccount-full-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.szp-myaccount-full-nav li {
	margin: 0;
	padding: 0;
}

.szp-myaccount-full-nav a {
	display: block;
	padding: 12px 16px;
	color: #333;
	text-decoration: none;
	border-left: 3px solid transparent;
	transition: all 0.3s ease;
	font-size: 15px;
	border-radius: 5px;
	margin-bottom: 5px;
}

.szp-myaccount-layout-vertical .szp-myaccount-full-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.szp-myaccount-layout-vertical .szp-myaccount-full-nav a {
	border-left: none;
	border-bottom: 3px solid transparent;
}

.szp-myaccount-full-nav a:hover {
	background: #fff;
	color: #0073aa;
	border-left-color: #0073aa;
}

.szp-myaccount-layout-vertical .szp-myaccount-full-nav a:hover {
	border-left-color: transparent;
	border-bottom-color: #0073aa;
}

.szp-myaccount-full-nav a.active,
.szp-myaccount-full-nav a.is-active,
.szp-myaccount-full-nav .is-active a {
	background: #fff;
	color: #0073aa;
	border-left-color: #0073aa;
	font-weight: 600;
}

.szp-myaccount-layout-vertical .szp-myaccount-full-nav a.active,
.szp-myaccount-layout-vertical .szp-myaccount-full-nav a.is-active,
.szp-myaccount-layout-vertical .szp-myaccount-full-nav .is-active a {
	border-left-color: transparent;
	border-bottom-color: #0073aa;
}

/* Content Area Styles */
.szp-myaccount-full-content {
	flex: 1;
	background: #fff;
	padding: 30px;
	border-radius: var(--szp-ma-radius);
	border: 1px solid var(--szp-ma-border);
	min-height: 400px;
}

.szp-myaccount-layout-horizontal .szp-myaccount-full-content {
	width: 75%;
}

.szp-myaccount-layout-vertical .szp-myaccount-full-content {
	width: 100%;
}

/* Responsive Design */
@media (max-width: 992px) {
	.szp-myaccount-layout-horizontal .szp-myaccount-full-wrapper {
		flex-direction: column;
	}
	
	.szp-myaccount-layout-horizontal .szp-myaccount-full-nav,
	.szp-myaccount-layout-horizontal .szp-myaccount-full-content {
		width: 100%;
	}
	
	.szp-myaccount-layout-horizontal .szp-myaccount-full-nav ul {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}
	
	.szp-myaccount-layout-horizontal .szp-myaccount-full-nav a {
		border-left: none;
		border-bottom: 3px solid transparent;
	}
	
	.szp-myaccount-layout-horizontal .szp-myaccount-full-nav a.active,
	.szp-myaccount-layout-horizontal .szp-myaccount-full-nav a.is-active,
	.szp-myaccount-layout-horizontal .szp-myaccount-full-nav .is-active a {
		border-left-color: transparent;
		border-bottom-color: #0073aa;
	}
}

@media (max-width: 768px) {
	.szp-myaccount-full-wrapper {
		gap: 20px;
	}
	
	.szp-myaccount-full-nav,
	.szp-myaccount-full-content {
		padding: 15px;
	}
	
	.szp-myaccount-full-nav a {
		padding: 10px 12px;
		font-size: 14px;
	}
}

/* WooCommerce My Account Content Enhancements */
.szp-myaccount-full-content .woocommerce-MyAccount-content {
	width: 100%;
}

.szp-myaccount-full-content .woocommerce-Address {
	margin-bottom: 20px;
}

.szp-myaccount-full-content .woocommerce-orders-table {
	border: 1px solid var(--szp-ma-border);
	border-radius: var(--szp-ma-radius);
	overflow: hidden;
}

.szp-myaccount-full-content .woocommerce-form-row {
	margin-bottom: 15px;
}

/**
 * Primary actions — match Storzen plugin buttons (main.css: --storzen-theme / pagination / ATC).
 * WC uses .woocommerce-Button, .button, or block theme .wp-element-button together.
 */
.szp-myaccount-skin button.woocommerce-button.button,
.szp-myaccount-skin .woocommerce-button.button,
.szp-myaccount-skin button.woocommerce-form-login__submit,
.szp-myaccount-skin button.woocommerce-Button.button,
.szp-myaccount-skin .woocommerce-Button.button,
.szp-myaccount-skin button.woocommerce-Button,
.szp-myaccount-skin form.woocommerce-EditAccountForm button.button,
.szp-myaccount-skin form.woocommerce-AddressForm button.button,
.szp-myaccount-skin .woocommerce-address-fields button.button,
.szp-myaccount-full button.woocommerce-button.button,
.szp-myaccount-full button.woocommerce-form-login__submit,
.szp-myaccount-full button.woocommerce-Button.button,
.szp-myaccount-full .woocommerce-Button.button,
.szp-myaccount-full button.woocommerce-Button,
.szp-myaccount-full form.woocommerce-EditAccountForm button.button,
.szp-myaccount-full form.woocommerce-address-fields button.button,
.szp-myaccount-full-content button.woocommerce-button.button,
.szp-myaccount-full-content button.woocommerce-form-login__submit,
.szp-myaccount-full-content button.woocommerce-Button.button,
.szp-myaccount-full-content .woocommerce-Button.button,
.szp-myaccount-full-content button.woocommerce-Button,
.szp-myaccount-full-content form.woocommerce-EditAccountForm button.button,
.szp-myaccount-full-content .woocommerce-address-fields button.button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 24px !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 6px;
	border: none !important;
	cursor: pointer;
	box-sizing: border-box;
	background-color: var(--szp-ma-btn) !important;
	color: var(--szp-ma-btn-text) !important;
	box-shadow: none;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.szp-myaccount-skin button.woocommerce-button.button:hover,
.szp-myaccount-skin button.woocommerce-form-login__submit:hover,
.szp-myaccount-skin button.woocommerce-Button.button:hover,
.szp-myaccount-skin button.woocommerce-Button:hover,
.szp-myaccount-skin form.woocommerce-EditAccountForm button.button:hover,
.szp-myaccount-skin .woocommerce-address-fields button.button:hover,
.szp-myaccount-full button.woocommerce-button.button:hover,
.szp-myaccount-full button.woocommerce-form-login__submit:hover,
.szp-myaccount-full button.woocommerce-Button.button:hover,
.szp-myaccount-full form.woocommerce-EditAccountForm button.button:hover,
.szp-myaccount-full .woocommerce-address-fields button.button:hover,
.szp-myaccount-full-content button.woocommerce-button.button:hover,
.szp-myaccount-full-content button.woocommerce-form-login__submit:hover,
.szp-myaccount-full-content button.woocommerce-Button.button:hover,
.szp-myaccount-full-content button.woocommerce-Button:hover,
.szp-myaccount-full-content form.woocommerce-EditAccountForm button.button:hover,
.szp-myaccount-full-content .woocommerce-address-fields button.button:hover {
	filter: brightness(0.92);
	color: var(--szp-ma-btn-text) !important;
}

.szp-myaccount-skin button.woocommerce-button.button:focus-visible,
.szp-myaccount-skin button.woocommerce-form-login__submit:focus-visible,
.szp-myaccount-skin button.woocommerce-Button.button:focus-visible,
.szp-myaccount-full button.woocommerce-button.button:focus-visible,
.szp-myaccount-full button.woocommerce-form-login__submit:focus-visible,
.szp-myaccount-full button.woocommerce-Button.button:focus-visible,
.szp-myaccount-full-content button.woocommerce-button.button:focus-visible,
.szp-myaccount-full-content button.woocommerce-form-login__submit:focus-visible,
.szp-myaccount-full-content button.woocommerce-Button.button:focus-visible,
.szp-myaccount-skin form.woocommerce-EditAccountForm button.button:focus-visible,
.szp-myaccount-full form.woocommerce-EditAccountForm button.button:focus-visible,
.szp-myaccount-full-content form.woocommerce-EditAccountForm button.button:focus-visible {
	outline: 2px solid var(--szp-ma-btn);
	outline-offset: 2px;
}


.szp-myaccount-full button.woocommerce-Button.button{
	margin-top: 20px;
}
/**
 * Login form — global/form-login.php (Account Login widget & logged-out Full widget).
 * Stack username / password vertically; card + fields; full-width theme button.
 */
.szp-myaccount-skin form.woocommerce-form-login.login {
	max-width: 440px;
	margin: 0 auto;
	padding: 24px 28px;
	border: 1px solid var(--szp-ma-border);
	border-radius: var(--szp-ma-radius);
	background: var(--storzen-white, #fff);
	box-shadow: var(--storzen-box-shadow, 0 4px 25px rgba(0, 0, 0, 0.06));
	box-sizing: border-box;
}

.szp-myaccount-skin .woocommerce-form-login .form-row.form-row-first,
.szp-myaccount-skin .woocommerce-form-login .form-row.form-row-last {
	width: 100% !important;
	float: none !important;
	clear: both !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 18px;
}

.szp-myaccount-skin .woocommerce-form-login .form-row.form-row-last {
	margin-bottom: 6px;
}

.szp-myaccount-skin .woocommerce-form-login .clear {
	clear: both;
	height: 0;
	overflow: hidden;
}

.szp-myaccount-skin .woocommerce-form-login .form-row label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.35;
	color: var(--storzen-header, #0c0c0c);
}

.szp-myaccount-skin .woocommerce-form-login .input-text {
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--szp-ma-border);
	border-radius: 8px;
	box-sizing: border-box;
	font-size: 15px;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.szp-myaccount-skin .woocommerce-form-login .input-text:focus {
	outline: none;
	border-color: var(--storzen-theme, #ff3636);
	box-shadow: 0 0 0 3px rgba(255, 54, 54, 0.15);
}

/* Actions row: remember me, then full-width Login (WC markup: checkbox row + button) */
.szp-myaccount-skin .woocommerce-form-login > p.form-row:not(.form-row-first):not(.form-row-last) {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
	margin-top: 8px;
	margin-bottom: 0;
	padding-top: 4px;
}

.szp-myaccount-skin .woocommerce-form-login .woocommerce-form-login__rememberme {
	order: 1;
	margin: 0;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
}

.szp-myaccount-skin .woocommerce-form-login .woocommerce-form-login__submit {
	order: 2;
	width: 100%;
	max-width: none;
	align-self: stretch;
}

.szp-myaccount-skin .woocommerce-form-login .lost_password {
	margin: 16px 0 0;
	padding: 0;
}

.szp-myaccount-skin .woocommerce-form-login .lost_password a {
	color: var(--storzen-theme, #ff3636);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.szp-myaccount-skin .woocommerce-form-login .lost_password a:hover {
	text-decoration: underline;
	opacity: 0.9;
}

/**
 * Lost password — form-lost-password.php (single username/email field + Reset password).
 */
.szp-myaccount-skin form.woocommerce-ResetPassword.lost_reset_password {
	max-width: 440px;
	margin: 0 auto;
	padding: 24px 28px;
	border: 1px solid var(--szp-ma-border);
	border-radius: var(--szp-ma-radius);
	background: var(--storzen-white, #fff);
	box-shadow: var(--storzen-box-shadow, 0 4px 25px rgba(0, 0, 0, 0.06));
	box-sizing: border-box;
}

.szp-myaccount-skin form.woocommerce-ResetPassword .form-row.form-row-first {
	width: 100% !important;
	float: none !important;
	margin-bottom: 18px;
}

.szp-myaccount-skin form.woocommerce-ResetPassword .form-row label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 14px;
	color: var(--storzen-header, #0c0c0c);
}

.szp-myaccount-skin form.woocommerce-ResetPassword .input-text {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--szp-ma-border);
	border-radius: 8px;
	box-sizing: border-box;
	font-size: 15px;
}

.szp-myaccount-skin form.woocommerce-ResetPassword > p.form-row:not(.form-row-first) {
	margin-top: 8px;
}

.szp-myaccount-skin form.woocommerce-ResetPassword button.woocommerce-Button {
	width: 100%;
	max-width: none;
}

/**
 * Orders page — Browse Products button styling and hover
 */
.szp-myaccount-full-content .woocommerce-message .woocommerce-Button,
.szp-myaccount-full-content .woocommerce-info .woocommerce-Button,
.szp-myaccount-full-content .woocommerce-message a.button,
.szp-myaccount-full-content .woocommerce-info a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 24px !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 6px;
	border: none !important;
	cursor: pointer;
	box-sizing: border-box;
	background-color: var(--szp-ma-btn) !important;
	color: var(--szp-ma-btn-text) !important;
	box-shadow: none;
	text-decoration: none;
	transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.szp-myaccount-full-content .woocommerce-message .woocommerce-Button:hover,
.szp-myaccount-full-content .woocommerce-info .woocommerce-Button:hover,
.szp-myaccount-full-content .woocommerce-message a.button:hover,
.szp-myaccount-full-content .woocommerce-info a.button:hover {
	filter: brightness(0.92);
	transform: translateY(-1px);
	color: var(--szp-ma-btn-text) !important;
	background-color: var(--szp-ma-btn) !important;
}

/**
 * Downloads page — "Browse Products" button styling
 */
.szp-myaccount-full-content .woocommerce-MyAccount-downloads + .woocommerce-Message a.woocommerce-Button,
.szp-myaccount-full-content .woocommerce-MyAccount-downloads + .woocommerce-info a.button,
.szp-myaccount-full-content .woocommerce-MyAccount-content .woocommerce-info a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 24px !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 6px;
	border: none !important;
	cursor: pointer;
	box-sizing: border-box;
	background-color: var(--szp-ma-btn) !important;
	color: var(--szp-ma-btn-text) !important;
	box-shadow: none;
	text-decoration: none;
	transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.szp-myaccount-full-content .woocommerce-MyAccount-downloads + .woocommerce-Message a.woocommerce-Button:hover,
.szp-myaccount-full-content .woocommerce-MyAccount-downloads + .woocommerce-info a.button:hover,
.szp-myaccount-full-content .woocommerce-MyAccount-content .woocommerce-info a.button:hover {
	filter: brightness(0.92);
	transform: translateY(-1px);
	color: var(--szp-ma-btn-text) !important;
	background-color: var(--szp-ma-btn) !important;
}

/**
 * Addresses page — Billing & Shipping Address improved styling
 */
.szp-myaccount-full-content .woocommerce-Addresses {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 20px;
}

.szp-myaccount-full-content .woocommerce-Address {
	flex: 1;
	min-width: 280px;
	padding: 24px;
	background: #f8f9fa;
	border: 1px solid var(--szp-ma-border);
	border-radius: var(--szp-ma-radius);
	box-sizing: border-box;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.szp-myaccount-full-content .woocommerce-Address:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	border-color: #d4d6dd;
}

.szp-myaccount-full-content .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--szp-ma-border);
}

.szp-myaccount-full-content .woocommerce-Address-title h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--storzen-header, #0c0c0c);
	text-transform: capitalize;
}

.szp-myaccount-full-content .woocommerce-Address-title .edit {
	font-size: 13px;
	color: var(--szp-ma-btn);
	text-decoration: none;
	font-weight: 600;
	transition: opacity 0.2s ease;
}

.szp-myaccount-full-content .woocommerce-Address-title .edit:hover {
	opacity: 0.8;
	text-decoration: underline;
}

.szp-myaccount-full-content .woocommerce-Address address {
	font-style: normal;
	line-height: 1.8;
	color: #555;
	font-size: 14px;
	margin: 0;
}

.szp-myaccount-full-content .woocommerce-Address .woocommerce-Button {
	margin-top: 16px;
	width: 100%;
}

@media (max-width: 768px) {
	.szp-myaccount-full-content .woocommerce-Addresses {
		flex-direction: column;
	}
	
	.szp-myaccount-full-content .woocommerce-Address {
		min-width: 100%;
	}
}
