/* My Account — dashboard layout (reference-style) */
body.exhale-account-logged-in.woocommerce-account .exhale-wrap.exhale-section {
	max-width: 1200px;
}

body.exhale-account-logged-in.woocommerce-account .exhale-title {
	margin-bottom: 1.75rem;
	font-family: 'Libre Baskerville', Georgia, serif;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 400;
	color: #3d3835;
}

.exhale-myaccount {
	display: grid;
	gap: 2rem;
}

@media (min-width: 992px) {
	.exhale-myaccount {
		grid-template-columns: 280px minmax(0, 1fr);
		align-items: start;
	}
}

.exhale-myaccount__nav {
	border: 1px solid rgba(212, 178, 164, 0.4);
	border-radius: 0;
	background: #fffdfb;
	padding: 1.25rem;
	box-shadow: 0 8px 32px rgba(61, 56, 53, 0.06);
}

.exhale-myaccount__profile {
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(212, 178, 164, 0.28);
}

.exhale-myaccount__name {
	margin: 0 0 0.2rem;
	font-family: 'DM Sans', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #3d3835;
}

.exhale-myaccount__email,
.exhale-myaccount__phone {
	margin: 0;
	font-size: 0.82rem;
	color: rgba(61, 56, 53, 0.62);
}

.exhale-myaccount__logout {
	display: inline-block;
	margin-top: 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #6e7d6d;
	text-decoration: none;
}

.exhale-myaccount__logout:hover {
	text-decoration: underline;
}

.exhale-myaccount__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.exhale-myaccount__menu li {
	margin: 0;
}

.exhale-myaccount__menu a {
	display: block;
	padding: 0.75rem 0.85rem;
	border-radius: 0;
	border-left: 3px solid transparent;
	font-size: 0.92rem;
	font-weight: 500;
	color: rgba(61, 56, 53, 0.72);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.exhale-myaccount__menu a:hover,
.exhale-myaccount__menu .is-active a {
	background: rgba(201, 214, 197, 0.22);
	border-left-color: #6e7d6d;
	color: #3d3835;
}

.exhale-myaccount__content {
	border: 1px solid rgba(212, 178, 164, 0.4);
	border-radius: 0;
	background: #fffdfb;
	padding: 1.5rem;
	box-shadow: 0 8px 32px rgba(61, 56, 53, 0.06);
}

.exhale-myaccount-dashboard__title {
	margin: 0 0 1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(212, 178, 164, 0.35);
	font-family: 'DM Sans', sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	color: #3d3835;
}

.exhale-myaccount-dashboard__hello {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: #3d3835;
}

.exhale-myaccount-dashboard__intro {
	margin: 0 0 1.5rem;
	font-size: 0.92rem;
	line-height: 1.7;
	color: rgba(61, 56, 53, 0.72);
}

.exhale-myaccount-dashboard__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.exhale-myaccount-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.35rem;
	min-height: 88px;
	border: 1px solid rgba(212, 178, 164, 0.45);
	border-top: 3px solid #6e7d6d;
	border-radius: 0;
	padding: 1rem 1.1rem;
	background: #fff;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.exhale-myaccount-card:hover {
	border-color: rgba(110, 125, 109, 0.55);
	border-top-color: #6e7d6d;
	box-shadow: 0 4px 16px rgba(61, 56, 53, 0.06);
	transform: none;
}

.exhale-myaccount-card__badge {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.5rem;
	height: 1.5rem;
	padding: 0 0.35rem;
	border-radius: 0;
	background: #6e7d6d;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
}

.exhale-myaccount-card__label {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(61, 56, 53, 0.82);
	text-align: left;
}

/* Active plan / class cards */
.exhale-plan-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.exhale-plan-card {
	display: flex;
	gap: 1rem;
	align-items: center;
	padding: 1.15rem 1.1rem;
	border: 1px solid rgba(212, 178, 164, 0.45);
	border-radius: 0;
	background: linear-gradient(135deg, #fffdfb 0%, #f8f3ee 100%);
	box-shadow: 0 10px 28px rgba(61, 56, 53, 0.06);
}

.exhale-plan-card--class {
	border-color: rgba(110, 125, 109, 0.45);
}

.exhale-plan-card__ring {
	--exhale-plan-progress: 50%;
	position: relative;
	flex-shrink: 0;
	width: 5.5rem;
	height: 5.5rem;
	border-radius: 0;
	background: conic-gradient(#6e7d6d var(--exhale-plan-progress), rgba(201, 214, 197, 0.35) 0);
	display: flex;
	align-items: center;
	justify-content: center;
}

.exhale-plan-card__ring::before {
	content: '';
	position: absolute;
	inset: 0.45rem;
	border-radius: 0;
	background: #fffdfb;
}

.exhale-plan-card__days {
	position: relative;
	z-index: 1;
	text-align: center;
	line-height: 1.1;
}

.exhale-plan-card__days strong {
	display: block;
	font-family: 'DM Sans', sans-serif;
	font-size: 1.45rem;
	font-weight: 700;
	color: #3d3835;
}

.exhale-plan-card__days span {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(61, 56, 53, 0.58);
}

.exhale-plan-card__type {
	margin: 0 0 0.25rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6e7d6d;
}

.exhale-plan-card__title {
	margin: 0 0 0.35rem;
	font-family: 'DM Sans', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #3d3835;
}

.exhale-plan-card__expiry {
	margin: 0;
	font-size: 0.8rem;
	color: rgba(61, 56, 53, 0.62);
}

.exhale-plan-empty {
	padding: 2rem 1.5rem;
	border: 1px dashed rgba(212, 178, 164, 0.55);
	border-radius: 0;
	text-align: center;
	background: rgba(255, 253, 251, 0.85);
}

.exhale-plan-empty__title {
	margin: 0 0 0.5rem;
	font-family: 'DM Sans', sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	color: #3d3835;
}

.exhale-plan-empty__text {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(61, 56, 53, 0.68);
}

.exhale-plan-empty .exhale-btn {
	display: inline-flex;
}

.exhale-plan-empty .mt-3 {
	margin-top: 0.75rem;
}

/* Account details form */
.exhale-edit-account__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 1.5rem;
}

.exhale-edit-account__field {
	display: block;
}

.exhale-edit-account__field--full {
	grid-column: 1 / -1;
}

.exhale-edit-account__field > span {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #6e7d6d;
}

.exhale-edit-account__field .required {
	color: #b42318;
}

.exhale-edit-account__input {
	width: 100%;
	border: 1px solid rgba(212, 178, 164, 0.45);
	border-radius: 0;
	padding: 0.75rem 0.9rem;
	font-size: 0.92rem;
	background: #fff;
	color: #3d3835;
}

.exhale-edit-account__input.is-readonly {
	background: #f5f1ea;
	color: rgba(61, 56, 53, 0.72);
}

.exhale-edit-account__password {
	margin: 0 0 1.25rem;
	padding: 1.15rem;
	border: 1px solid rgba(212, 178, 164, 0.35);
	border-radius: 0;
	background: rgba(248, 245, 241, 0.65);
}

.exhale-edit-account__password legend {
	padding: 0 0.25rem;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	color: #3d3835;
}

.exhale-edit-account__hint {
	margin: 0 0 1rem;
	font-size: 0.82rem;
	color: rgba(61, 56, 53, 0.62);
}

.exhale-edit-account__password .exhale-edit-account__field + .exhale-edit-account__field {
	margin-top: 0.85rem;
}

.exhale-edit-account__actions {
	margin: 0;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .woocommerce-form-row {
	margin: 0;
	padding: 0;
}

@media (max-width: 640px) {
	.exhale-edit-account__grid {
		grid-template-columns: 1fr;
	}
}

/* My Programs list (orders tab) */
.exhale-program-list {
	display: grid;
	gap: 1rem;
}

.exhale-account-subscriptions {
	margin-bottom: 1.25rem;
}

.exhale-program-row {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: center;
	padding: 1rem 1.1rem;
	border: 1px solid rgba(212, 178, 164, 0.45);
	border-radius: 0;
	background: #fffdfb;
}

.exhale-program-row.is-active {
	border-color: rgba(110, 125, 109, 0.45);
}

.exhale-program-row__badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 5.5rem;
	height: 5.5rem;
	border-radius: 0;
	background: conic-gradient(#6e7d6d calc(var(--days, 50) * 1%), rgba(201, 214, 197, 0.35) 0);
	text-align: center;
	line-height: 1.1;
}

.exhale-program-row__badge strong {
	font-size: 1.35rem;
	color: #3d3835;
}

.exhale-program-row__badge span {
	font-size: 0.58rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(61, 56, 53, 0.58);
}

.exhale-program-row__type {
	margin: 0 0 0.2rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6e7d6d;
}

.exhale-program-row__title {
	margin: 0 0 0.35rem;
	font-family: 'DM Sans', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #3d3835;
}

.exhale-program-row__plan {
	margin: 0 0 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: rgba(61, 56, 53, 0.72);
}

.exhale-program-row__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin: 0;
	font-size: 0.8rem;
	color: rgba(61, 56, 53, 0.62);
}

.exhale-program-row__status {
	padding: 0.4rem 0.75rem;
	border-radius: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: rgba(201, 214, 197, 0.45);
	color: #3d3835;
}

.exhale-program-row__order-link {
	color: #6e7d6d;
	text-decoration: none;
	font-weight: 700;
}

.exhale-program-row__order-link:hover {
	text-decoration: underline;
}

.exhale-program-row.is-expired .exhale-program-row__status {
	background: rgba(212, 178, 164, 0.35);
	color: rgba(61, 56, 53, 0.62);
}

@media (max-width: 640px) {
	.exhale-program-row {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.exhale-program-row__badge {
		margin: 0 auto;
	}

	.exhale-program-row__meta {
		justify-content: center;
	}

	.exhale-program-row__status {
		justify-self: center;
	}
}

/* Logged-in account content area */
body.exhale-account-logged-in .woocommerce-MyAccount-content > h2,
body.exhale-account-logged-in .exhale-myaccount__content > h2 {
	margin: 0 0 1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(212, 178, 164, 0.35);
	font-family: 'DM Sans', sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	color: #3d3835;
}

body.exhale-account-logged-in .woocommerce-MyAccount-content p,
body.exhale-account-logged-in .woocommerce-MyAccount-content .woocommerce-info,
body.exhale-account-logged-in .woocommerce-MyAccount-content .woocommerce-message {
	font-size: 0.92rem;
	line-height: 1.7;
	color: rgba(61, 56, 53, 0.72);
}

body.exhale-account-logged-in .woocommerce-orders-table,
body.exhale-account-logged-in .woocommerce-table.shop_table {
	border: 1px solid rgba(212, 178, 164, 0.35);
	border-radius: 0;
	overflow: hidden;
}

body.exhale-account-logged-in .woocommerce-orders-table th,
body.exhale-account-logged-in .woocommerce-table.shop_table th {
	background: rgba(248, 245, 241, 0.85);
	color: #6e7d6d;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

body.exhale-account-logged-in .woocommerce-orders-table td,
body.exhale-account-logged-in .woocommerce-table.shop_table td {
	font-size: 0.9rem;
	color: #3d3835;
}

body.exhale-account-logged-in .woocommerce-button.button,
body.exhale-account-logged-in .woocommerce-Button.button,
body.exhale-account-logged-in .exhale-account-form__submit {
	border-radius: 0;
	background: #e6d5d1;
	border-color: #e6d5d1;
	color: #3d3835;
	font-weight: 600;
	min-height: 2.75rem;
	padding: 0.65rem 1.35rem;
}

body.exhale-account-logged-in .woocommerce-button.button:hover,
body.exhale-account-logged-in .woocommerce-Button.button:hover {
	background: #d9c4bf;
	border-color: #d9c4bf;
	color: #3d3835;
}

body.exhale-account-logged-in .es-account-sub {
	margin-bottom: 1.5rem;
	padding: 1.25rem;
	border: 1px solid rgba(212, 178, 164, 0.4);
	border-radius: 0;
	background: #fffdfb;
}

body.exhale-account-logged-in .es-account-sub h3 {
	margin: 0 0 1rem;
	font-family: 'DM Sans', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #3d3835;
}

/* Shared account form layout */
.exhale-account-form__intro,
.exhale-account-form__section-title {
	margin: 0 0 1.25rem;
	font-size: 0.92rem;
	line-height: 1.7;
	color: rgba(61, 56, 53, 0.72);
}

.exhale-account-form__section-title {
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(212, 178, 164, 0.35);
	font-family: 'DM Sans', sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: #3d3835;
}

.exhale-account-form__fields {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 1.25rem;
}

.exhale-account-form .form-row {
	margin: 0;
	padding: 0;
}

.exhale-account-form .form-row-wide,
.exhale-account-form .form-row-first,
.exhale-account-form .form-row-last {
	width: auto;
	float: none;
}

.exhale-account-form .form-row label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #6e7d6d;
}

.exhale-account-form .form-row .input-text,
.exhale-account-form .form-row select,
.exhale-account-form .form-row textarea,
.exhale-account-form .select2-container .select2-selection--single {
	width: 100%;
	border: 1px solid rgba(212, 178, 164, 0.45);
	border-radius: 0;
	padding: 0.75rem 0.9rem;
	font-size: 0.92rem;
	background: #fff;
	color: #3d3835;
	min-height: 2.75rem;
}

.exhale-account-form .select2-container .select2-selection--single {
	height: auto;
}

.exhale-account-form .select2-container .select2-selection__rendered {
	line-height: 1.4;
	padding: 0.75rem 0.9rem;
}

.exhale-account-form .select2-container .select2-selection__arrow {
	height: 100%;
}

/* Orders — structured rows */
.exhale-account-orders {
	display: grid;
	gap: 0;
	border: 1px solid rgba(212, 178, 164, 0.4);
}

.exhale-account-order {
	padding: 1.15rem 1.25rem;
	border-bottom: 1px solid rgba(212, 178, 164, 0.28);
	background: #fffdfb;
}

.exhale-account-order:last-child {
	border-bottom: 0;
}

.exhale-account-order__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(212, 178, 164, 0.22);
}

.exhale-account-order__number {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	border: 1px solid rgba(212, 178, 164, 0.55);
	background: rgba(248, 245, 241, 0.9);
	font-size: 0.92rem;
	font-weight: 700;
	color: #3d3835;
	text-decoration: none;
}

.exhale-account-order__number:hover {
	border-color: #6e7d6d;
	color: #6e7d6d;
}

.exhale-account-order__status {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	border: 1px solid rgba(110, 125, 109, 0.35);
	background: rgba(201, 214, 197, 0.25);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #3d3835;
}

.exhale-account-order__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.exhale-account-field__label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #6e7d6d;
}

.exhale-account-field__value {
	display: block;
	font-size: 0.92rem;
	color: #3d3835;
}

.exhale-account-order__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(212, 178, 164, 0.22);
}

.exhale-account-pagination {
	margin-top: 1.25rem;
}

/* Addresses — overview panels */
.exhale-address-panels {
	display: grid;
	gap: 1rem;
}

.exhale-address-panel {
	border: 1px solid rgba(212, 178, 164, 0.4);
	background: #fff;
}

.exhale-address-panel__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.9rem 1.1rem;
	border-bottom: 1px solid rgba(212, 178, 164, 0.28);
	background: rgba(248, 245, 241, 0.85);
}

.exhale-address-panel__title {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	color: #3d3835;
}

.exhale-address-panel__edit {
	font-size: 0.82rem;
	font-weight: 600;
	color: #6e7d6d;
	text-decoration: none;
}

.exhale-address-panel__edit:hover {
	text-decoration: underline;
}

.exhale-address-panel__body {
	padding: 1.1rem 1.15rem;
	font-size: 0.92rem;
	line-height: 1.75;
	color: rgba(61, 56, 53, 0.78);
}

.exhale-address-panel__empty {
	margin: 0;
	color: rgba(61, 56, 53, 0.58);
}

/* Account page — square corners on WooCommerce defaults */
body.exhale-account-logged-in .woocommerce-MyAccount-content .woocommerce-info,
body.exhale-account-logged-in .woocommerce-MyAccount-content .woocommerce-message,
body.exhale-account-logged-in .woocommerce-MyAccount-content .woocommerce-error {
	border-radius: 0;
}

body.exhale-account-logged-in .woocommerce-MyAccount-content .button,
body.exhale-account-logged-in .woocommerce-MyAccount-content input[type="text"],
body.exhale-account-logged-in .woocommerce-MyAccount-content input[type="email"],
body.exhale-account-logged-in .woocommerce-MyAccount-content input[type="tel"],
body.exhale-account-logged-in .woocommerce-MyAccount-content input[type="password"],
body.exhale-account-logged-in .woocommerce-MyAccount-content select,
body.exhale-account-logged-in .woocommerce-MyAccount-content textarea {
	border-radius: 0;
}

.exhale-account-form .exhale-intl-phone-wrap .iti,
.exhale-account-form .iti {
	width: 100%;
}

.exhale-account-form .iti input.exhale-intl-phone {
	width: 100%;
	border-radius: 0;
	min-height: 2.75rem;
}

@media (max-width: 640px) {
	.exhale-account-order__grid,
	.exhale-account-form__fields {
		grid-template-columns: 1fr;
	}
}
