/* My Account (login / register / dashboard) – site design system. */
body.woocommerce-account #primary {
	background: linear-gradient(180deg, #FBF9F5 0%, #FFFFFF 420px);
}

body.woocommerce-account #primary > .container {
	max-width: 1216px;
	width: 100%;
	padding: 0 24px;
	box-sizing: border-box;
}

body.woocommerce-account #content.row {
	margin: 0;
}

body.woocommerce-account #main {
	float: none;
	width: 100%;
	padding: 0;
}

body.woocommerce-account article.page {
	padding: 40px 0 80px;
	font-family: Assistant, Arial, sans-serif;
	color: #1E2430;
}

/* Breadcrumbs + title as the site's page hero */
body.woocommerce-account #breadcrumbs {
	margin: 0 0 10px;
	font-size: 13px;
	text-align: center;
	color: #5B6474;
}

body.woocommerce-account #breadcrumbs a {
	color: #B8955A;
	text-decoration: none;
}

body.woocommerce-account #breadcrumbs .separator {
	margin: 0 6px;
	color: #D9C29A;
}

body.woocommerce-account header.page-title {
	margin: 0 0 40px;
	padding: 0;
	text-align: center;
	border: 0;
	background: none;
}

body.woocommerce-account header.page-title .entry-title {
	margin: 0;
	font-family: "Frank Ruhl Libre", serif;
	font-size: 46px;
	font-weight: 700;
	line-height: 1.15;
	color: #0F2747;
}

body.woocommerce-account header.page-title .entry-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	margin: 16px auto 0;
	background-color: #B8955A;
	border-radius: 2px;
}

/* Login + register columns as cards */
body.woocommerce-account #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	max-width: 1000px;
	margin: 0 auto;
}

body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after {
	display: none;
}

body.woocommerce-account #customer_login > .u-column1,
body.woocommerce-account #customer_login > .u-column2 {
	float: none;
	width: auto;
	padding: 32px 32px 28px;
	background-color: #FFFFFF;
	border: 1px solid #E7E0D3;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(15, 39, 71, 0.07);
}

body.woocommerce-account #customer_login > .u-column2 {
	background: linear-gradient(160deg, #FBF9F5, #F4EEE3);
	border-color: #D9C29A;
}

body.woocommerce-account .woocommerce h2,
body.woocommerce-account .woocommerce h3 {
	margin: 0 0 22px;
	padding-inline-start: 14px;
	font-family: "Frank Ruhl Libre", serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3;
	color: #0F2747;
	border-inline-start: 3px solid #B8955A;
}

body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register,
body.woocommerce-account .woocommerce form.lost_reset_password,
body.woocommerce-account .woocommerce form.edit-account {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

body.woocommerce-account .woocommerce form .form-row {
	margin: 0 0 16px;
	padding: 0;
}

body.woocommerce-account .woocommerce form label {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: #0F2747;
}

body.woocommerce-account .woocommerce form .required {
	color: #B8955A;
	text-decoration: none;
}

body.woocommerce-account .woocommerce form input.input-text,
body.woocommerce-account .woocommerce form input[type="email"],
body.woocommerce-account .woocommerce form input[type="password"],
body.woocommerce-account .woocommerce form input[type="text"],
body.woocommerce-account .woocommerce form input[type="tel"],
body.woocommerce-account .woocommerce form select,
body.woocommerce-account .woocommerce form textarea {
	width: 100%;
	height: 48px;
	padding: 10px 14px;
	font-family: Assistant, Arial, sans-serif;
	font-size: 16px;
	color: #1E2430;
	background-color: #FFFFFF;
	border: 1px solid #E7E0D3;
	border-radius: 8px;
	box-shadow: none;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

body.woocommerce-account .woocommerce form textarea {
	height: auto;
	min-height: 110px;
}

body.woocommerce-account .woocommerce form input:hover,
body.woocommerce-account .woocommerce form select:hover {
	border-color: #D9C29A;
}

body.woocommerce-account .woocommerce form input:focus,
body.woocommerce-account .woocommerce form select:focus,
body.woocommerce-account .woocommerce form textarea:focus {
	border-color: #B8955A;
}

body.woocommerce-account .woocommerce .password-input {
	display: block;
	position: relative;
	width: 100%;
}

body.woocommerce-account .woocommerce .password-input .show-password-input {
	top: 50%;
	left: 12px;
	right: auto;
	transform: translateY(-50%);
	color: #5B6474;
}

body.woocommerce-account .woocommerce form p:not(.form-row) {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.6;
	color: #5B6474;
}

body.woocommerce-account .woocommerce-privacy-policy-text p {
	font-size: 13px;
	color: #5B6474;
}

body.woocommerce-account .woocommerce a {
	color: #0F2747;
}

body.woocommerce-account .woocommerce a:hover {
	color: #B8955A;
}

/* Login row: remember-me + button */
body.woocommerce-account form.login .form-row:not(.form-row-wide) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 4px;
}

body.woocommerce-account .woocommerce-form-login__rememberme {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	font-weight: 600 !important;
}

body.woocommerce-account .woocommerce-form-login__rememberme input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #B8955A;
}

body.woocommerce-account .lost_password {
	margin: 14px 0 0 !important;
	font-size: 14px;
}

body.woocommerce-account .lost_password a {
	color: #0F2747;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Buttons */
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 28px;
	font-family: Assistant, Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	color: #FFFFFF;
	background-color: #0F2747;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	text-decoration: none;
	transition: background-color 0.2s;
}

body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce a.button:hover,
body.woocommerce-account .woocommerce input.button:hover {
	color: #0A1C36;
	background-color: #B8955A;
}

body.woocommerce-account form.register .woocommerce-form-register__submit {
	width: 100%;
}

/* Logged-in dashboard: navigation card + content card */
body.woocommerce-account.logged-in .woocommerce {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

body.woocommerce-account.logged-in .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	width: auto;
	padding: 10px;
	background-color: #0F2747;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(15, 39, 71, 0.12);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 16px;
	font-size: 16px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	border-radius: 8px;
	transition: background-color 0.2s, color 0.2s;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	color: #FFFFFF;
	background-color: rgba(255, 255, 255, 0.08);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	color: #0A1C36;
	background-color: #D9C29A;
}

body.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	padding: 32px;
	font-size: 16px;
	line-height: 1.7;
	background-color: #FFFFFF;
	border: 1px solid #E7E0D3;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(15, 39, 71, 0.07);
}

body.woocommerce-account .woocommerce-MyAccount-content mark {
	padding: 0 4px;
	color: #0F2747;
	background-color: #F4EEE3;
	border-radius: 4px;
}

body.woocommerce-account .woocommerce table.shop_table {
	width: 100%;
	margin: 0 0 20px;
	border: 1px solid #E7E0D3;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 10px;
	overflow: hidden;
}

body.woocommerce-account .woocommerce table.shop_table th {
	padding: 12px 14px;
	font-weight: 700;
	text-align: right;
	color: #0F2747;
	background-color: #F4EEE3;
	border: 0;
}

body.woocommerce-account .woocommerce table.shop_table td {
	padding: 12px 14px;
	text-align: right;
	border: 0;
	border-top: 1px solid #E7E0D3;
}

body.woocommerce-account .woocommerce table.shop_table .button {
	min-height: 36px;
	padding: 6px 16px;
	font-size: 14px;
}

body.woocommerce-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

body.woocommerce-account .woocommerce-Addresses::before,
body.woocommerce-account .woocommerce-Addresses::after {
	display: none;
}

body.woocommerce-account .woocommerce-Address {
	float: none;
	width: auto;
	padding: 20px;
	background-color: #FBF9F5;
	border: 1px solid #E7E0D3;
	border-radius: 10px;
}

body.woocommerce-account .woocommerce-Address address {
	font-style: normal;
	line-height: 1.7;
}

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
	padding: 14px 18px;
	font-size: 15px;
	color: #1E2430;
	background-color: #F4EEE3;
	border: 1px solid #D9C29A;
	border-inline-start: 4px solid #B8955A;
	border-top: 1px solid #D9C29A;
	border-radius: 10px;
}

body.woocommerce-account .woocommerce-error {
	background-color: #FDF2F0;
	border-color: #E8B4AA;
	border-inline-start-color: #B32D2E;
}

body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-error::before {
	display: none;
}

/* Tablet / mobile */
@media (max-width: 1024px) {
	body.woocommerce-account.logged-in .woocommerce {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	body.woocommerce-account #primary > .container {
		padding: 0 16px;
	}

	body.woocommerce-account article.page {
		padding: 24px 0 48px;
	}

	body.woocommerce-account header.page-title {
		margin-bottom: 24px;
	}

	body.woocommerce-account header.page-title .entry-title {
		font-size: 34px;
	}

	body.woocommerce-account #customer_login,
	body.woocommerce-account .woocommerce-Addresses {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	body.woocommerce-account #customer_login > .u-column1,
	body.woocommerce-account #customer_login > .u-column2,
	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 22px 18px;
	}

	body.woocommerce-account .woocommerce h2,
	body.woocommerce-account .woocommerce h3 {
		font-size: 22px;
	}
}

/* ---------- Lost password / set new password (owner request, Oct 2026) ---------- */
body.woocommerce-account .woocommerce form.lost_reset_password {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 16px;
	max-width: 560px;
	margin: 8px auto 0;
	padding: 36px 40px 32px;
	background-color: #FFFFFF;
	border: 1px solid #E7E0D3;
	border-top: 3px solid #B8955A;
	border-radius: 14px;
	box-shadow: 0 6px 24px rgba(15, 39, 71, 0.07);
	box-sizing: border-box;
}

body.woocommerce-account .woocommerce form.lost_reset_password::before {
	content: "";
	grid-column: 1 / -1;
	justify-self: center;
	width: 60px;
	height: 60px;
	margin-bottom: 16px;
	border: 1px solid #D9C29A;
	border-radius: 50%;
	background: #F4EEE3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8955A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10.5' width='16' height='10.5' rx='2.2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3Ccircle cx='12' cy='15.5' r='1.3'/%3E%3C/svg%3E") center / 28px no-repeat;
}

body.woocommerce-account .woocommerce form.lost_reset_password > * {
	grid-column: 1 / -1;
}

body.woocommerce-account .woocommerce form.lost_reset_password > p:not(.form-row) {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.65;
	text-align: center;
	color: #5B6474;
}

body.woocommerce-account .woocommerce form.lost_reset_password .form-row-first,
body.woocommerce-account .woocommerce form.lost_reset_password .form-row-last {
	float: none;
	width: auto;
	margin-bottom: 18px;
}

body.woocommerce-account .woocommerce form.lost_reset_password:has(.form-row-last) .form-row-first,
body.woocommerce-account .woocommerce form.lost_reset_password .form-row-last {
	grid-column: auto;
	align-self: end;
}

body.woocommerce-account .woocommerce form.lost_reset_password .clear {
	display: none;
}

body.woocommerce-account .woocommerce form.lost_reset_password .password-input input {
	padding-left: 44px;
}

body.woocommerce-account .woocommerce form.lost_reset_password .form-row:last-of-type {
	margin: 6px 0 0;
}

body.woocommerce-account .woocommerce form.lost_reset_password button[type="submit"] {
	width: 100%;
	min-height: 52px;
	font-size: 17px;
}

@media (max-width: 767px) {
	body.woocommerce-account .woocommerce form.lost_reset_password {
		grid-template-columns: minmax(0, 1fr);
		padding: 26px 18px 22px;
		border-radius: 12px;
	}

	body.woocommerce-account .woocommerce form.lost_reset_password::before {
		width: 52px;
		height: 52px;
		margin-bottom: 12px;
		background-size: 24px;
	}

	body.woocommerce-account .woocommerce form.lost_reset_password:has(.form-row-last) .form-row-first,
	body.woocommerce-account .woocommerce form.lost_reset_password .form-row-last {
		grid-column: 1 / -1;
	}

	body.woocommerce-account .woocommerce form.lost_reset_password > p:not(.form-row) {
		font-size: 15px;
		margin-bottom: 18px;
	}
}

/* ---------- Logged-in dashboard fix (Oct 2026) ----------
   The theme's clearfix pseudo-elements (.woocommerce::before/::after) became grid items and pushed the
   navigation into the wide column and the content into a second row. */
body.woocommerce-account.logged-in .woocommerce::before,
body.woocommerce-account.logged-in .woocommerce::after {
	display: none !important;
	content: none !important;
}

body.woocommerce-account.logged-in .woocommerce > * {
	grid-column: 1 / -1;
}

body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-navigation {
	grid-column: 1;
	position: sticky;
	top: 24px;
}

body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-content {
	grid-column: 2;
	min-height: 100%;
	box-sizing: border-box;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li + li {
	margin-top: 2px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
	font-size: 18px;
	color: #0F2747;
}

body.woocommerce-account .woocommerce-MyAccount-content > p {
	margin: 0 0 14px;
	color: #1E2430;
}

/* Notices inside the content card (e.g. "your account uses a temporary password" + resend button) */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 24px;
	padding: 16px 20px;
	font-size: 15px;
	line-height: 1.6;
	color: #0F2747;
	background-color: #F4EEE3;
	border: 1px solid #E7E0D3;
	border-inline-start: 4px solid #B8955A;
	border-radius: 10px;
	box-shadow: none;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::before {
	display: none;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error .button {
	float: none;
	order: 2;
	flex: 0 0 auto;
	margin: 0;
	padding: 10px 20px;
	font-size: 15px;
	white-space: nowrap;
}

@media (max-width: 1024px) {
	body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-navigation,
	body.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-content {
		grid-column: 1 / -1;
		position: static;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 4px;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li + li,
	body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li a {
		text-align: center;
	}
}

@media (max-width: 767px) {
	body.woocommerce-account.logged-in .woocommerce {
		gap: 16px;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation {
		padding: 8px;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li a {
		padding: 10px 8px;
		font-size: 15px;
	}

	body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button,
	body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
	body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error .button {
		width: 100%;
		text-align: center;
	}
}
