.ahan-account-route {
	background: #f5f7fb;
	color: #10233f;
	--ahan-account-blue: var(--ahan-color-brand-blue, #0b5cad);
	--ahan-account-blue-hover: #074f99;
}

.ahan-account-page {
	padding: 32px 0 56px;
}

.ahan-account-page__container {
	max-width: 1240px;
}

.ahan-account-layout {
	display: grid;
	grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.ahan-account-sidebar,
.ahan-account-section,
.ahan-account-card {
	background: #fff;
	border: 1px solid #d7dfeb;
	border-radius: 8px;
	box-shadow: 0 18px 40px rgba(16, 35, 63, 0.06);
}

.ahan-account-sidebar {
	padding: 24px;
	position: sticky;
	top: 24px;
}

.ahan-account-profile h1,
.ahan-account-card__intro h1,
.ahan-account-section__header h2 {
	margin: 0;
	font-size: 30px;
	line-height: 1.1;
	color: #10233f;
}

.ahan-account-profile p,
.ahan-account-card__intro p,
.ahan-account-section__header p {
	margin: 0;
	color: #53657d;
	font-size: 15px;
	line-height: 1.6;
}

.ahan-account-profile {
	display: grid;
	gap: 10px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e6ebf2;
}

.ahan-account-profile__eyebrow,
.ahan-account-card__eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #64748b;
}

.ahan-account-discount-card {
	display: grid;
	gap: 12px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e6ebf2;
}

.ahan-account-discount-card dl {
	display: grid;
	gap: 10px;
	margin: 0;
}

.ahan-account-discount-card dl div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.ahan-account-discount-card dt,
.ahan-account-discount-card dd,
.ahan-account-discount-card p {
	margin: 0;
}

.ahan-account-discount-card dt {
	color: #64748b;
	font-size: 13px;
	font-weight: 700;
}

.ahan-account-discount-card dd {
	color: #10233f;
	font-size: 14px;
	font-weight: 800;
	text-align: right;
}

.ahan-account-discount-card p {
	color: #53657d;
	font-size: 13px;
	line-height: 1.5;
}

.ahan-account-nav {
	display: grid;
	gap: 8px;
	padding-top: 20px;
}

.ahan-account-nav__link {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 14px;
	border-radius: 8px;
	border: 1px solid #d7dfeb;
	color: #10233f;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	background: #f8fafc;
}

.ahan-account-nav__link.is-active,
.ahan-account-nav__link:hover,
.ahan-account-nav__link:focus-visible {
	background: var(--ahan-account-blue);
	border-color: var(--ahan-account-blue);
	color: #fff;
}

.ahan-account-content {
	display: grid;
	gap: 24px;
}

.ahan-account-section,
.ahan-account-card {
	padding: 24px;
}

.ahan-account-section__header,
.ahan-account-card__intro {
	display: grid;
	gap: 10px;
	margin-bottom: 24px;
}

.ahan-account-orders,
.ahan-account-address-grid {
	display: grid;
	gap: 16px;
}

.ahan-account-order-card,
.ahan-account-address-card {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 18px;
	background: #f8fafc;
	min-width: 0;
}

.ahan-account-order-card__top {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	min-width: 0;
}

.ahan-account-order-card__top > div {
	min-width: 0;
}

.ahan-account-order-card__top h3,
.ahan-account-address-card h3,
.ahan-account-empty h3 {
	margin: 0 0 4px;
	font-size: 19px;
	line-height: 1.25;
}

.ahan-account-order-card__top p,
.ahan-account-empty p,
.ahan-account-address-card__body,
.ahan-account-address-card__body p {
	margin: 0;
	color: #53657d;
	font-size: 14px;
	line-height: 1.6;
}

.ahan-account-order-card__status {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: #e2e8f0;
	color: #334155;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

.ahan-account-order-detail__summary div {
	padding: 14px 16px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e2e8f0;
}

.ahan-account-order-detail__summary span {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
}

.ahan-account-order-detail__summary strong {
	margin: 0;
	font-size: 18px;
	line-height: 1.2;
	color: #10233f;
}

.ahan-account-order-card__summary {
	margin: 0 0 16px;
	min-width: 0;
	color: #53657d;
	font-size: 15px;
	line-height: 1.5;
}

.ahan-account-order-card__action,
.ahan-account-address-card__action,
.ahan-account-button,
.ahan-account-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border: 0;
	border-radius: 8px;
	background: var(--ahan-account-blue);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	text-align: center;
	white-space: normal;
}

.ahan-account-button {
	width: fit-content;
}

.ahan-account-empty {
	display: grid;
	gap: 12px;
	padding: 32px;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
}

.ahan-account-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 20px;
}

.ahan-account-pagination span {
	font-size: 14px;
	color: #64748b;
}

.ahan-account-order-detail {
	display: grid;
	gap: 24px;
}

.ahan-account-order-detail__summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.ahan-account-form,
.ahan-account-form-wrap form {
	display: grid;
	gap: 20px;
}

.ahan-account-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ahan-account-field,
.ahan-account-form-wrap .form-row {
	margin: 0;
}

.ahan-account-field--full {
	grid-column: 1 / -1;
}

.ahan-account-field label,
.ahan-account-form-wrap label {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #10233f;
}

.ahan-account-field input,
.ahan-account-form-wrap input,
.ahan-account-form-wrap textarea,
.ahan-account-form-wrap select,
.ahan-account-card .woocommerce-form input {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: #10233f;
	font-size: 15px;
	box-sizing: border-box;
}

.ahan-account-form-wrap textarea {
	min-height: 112px;
	resize: vertical;
}

.ahan-account-form__passwords {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	padding: 0;
	margin: 0;
	border: 0;
}

.ahan-account-form__passwords legend {
	grid-column: 1 / -1;
	padding: 0;
	margin-bottom: 4px;
	font-size: 18px;
	font-weight: 700;
	color: #10233f;
}

.ahan-account-card {
	max-width: 560px;
	margin: 0 auto;
}

.ahan-account-card .woocommerce-form,
.ahan-account-card .woocommerce-LostPassword,
.ahan-account-card .form-row {
	margin: 0;
}

.ahan-account-card .woocommerce-form {
	display: grid;
	gap: 16px;
}

.ahan-account-card .woocommerce-form .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 8px;
	border: 0;
	background: var(--ahan-account-blue);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	box-sizing: border-box;
}

.ahan-account-card .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ahan-account-card .woocommerce-form-login__rememberme input {
	width: 18px;
	min-height: 18px;
	padding: 0;
}

.ahan-account-order-card__action:hover,
.ahan-account-order-card__action:focus-visible,
.ahan-account-address-card__action:hover,
.ahan-account-address-card__action:focus-visible,
.ahan-account-button:hover,
.ahan-account-button:focus-visible,
.ahan-account-pagination a:hover,
.ahan-account-pagination a:focus-visible,
.ahan-account-card .woocommerce-form .button:hover,
.ahan-account-card .woocommerce-form .button:focus-visible,
.ahan-account-form-wrap .button:hover,
.ahan-account-form-wrap .button:focus-visible {
	background: var(--ahan-account-blue-hover);
	color: #fff;
}

.ahan-account-card .lost_password a,
.ahan-account-form-wrap a {
	color: var(--ahan-account-blue);
	text-decoration: none;
}

.ahan-account-route .woocommerce-notices-wrapper {
	max-width: 1240px;
	margin: 0 auto 20px;
	padding: 0 16px;
}

.ahan-account-route .woocommerce-error,
.ahan-account-route .woocommerce-info,
.ahan-account-route .woocommerce-message {
	margin: 0 0 12px;
	padding: 14px 16px;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #fff;
	list-style: none;
}

.ahan-account-form-wrap .woocommerce-address-fields__field-wrapper,
.ahan-account-form-wrap .woocommerce-Input-wrapper {
	display: block;
}

.ahan-account-form-wrap .select2-container {
	width: 100% !important;
}

.ahan-account-form-wrap .select2-selection {
	min-height: 48px;
	border-radius: 8px !important;
	border-color: #cbd5e1 !important;
	padding: 8px 10px;
}

.ahan-account-form-wrap .select2-selection__rendered {
	line-height: 30px !important;
}

.ahan-account-form-wrap .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 8px;
	border: 0;
	background: var(--ahan-account-blue);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	box-sizing: border-box;
}

.ahan-account-form-wrap .woocommerce-Addresses,
.ahan-account-form-wrap .woocommerce-Address,
.ahan-account-form-wrap .woocommerce-columns {
	display: block;
}

.ahan-account-form-wrap .woocommerce-table,
.ahan-account-form-wrap .shop_table,
.ahan-account-form-wrap table {
	width: 100%;
	border-collapse: collapse;
}

.ahan-account-form-wrap .shop_table th,
.ahan-account-form-wrap .shop_table td,
.ahan-account-form-wrap table th,
.ahan-account-form-wrap table td {
	padding: 12px 10px;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
	vertical-align: top;
}

@media (max-width: 991px) {
	.ahan-account-page {
		padding: 12px 0 96px;
	}

	.ahan-account-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.ahan-account-sidebar {
		position: static;
		top: auto;
	}

	.ahan-account-order-detail__summary,
	.ahan-account-form__grid,
	.ahan-account-form__passwords {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.ahan-account-route .ahan-desktop-header,
	.ahan-account-route .ahan-desktop-footer {
		display: none;
	}

	.ahan-account-route .ahan-mobile-header {
		margin-bottom: 0;
	}

	.ahan-account-route .woocommerce-notices-wrapper {
		margin-bottom: 8px;
		padding-inline: 12px;
	}

	.ahan-account-page {
		padding-top: 8px;
	}

	.ahan-account-page__container {
		padding-inline: 12px;
	}

	.ahan-account-section,
	.ahan-account-card {
		padding: 16px;
	}

	.ahan-account-sidebar {
		padding: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.ahan-account-profile {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 6px 12px;
		align-items: center;
		padding: 14px 16px;
		margin-bottom: 10px;
		border: 1px solid #d7dfeb;
		border-radius: 8px;
		background: #fff;
		box-shadow: 0 12px 30px rgba(16, 35, 63, 0.06);
	}

	.ahan-account-profile__eyebrow {
		grid-column: 1 / -1;
		font-size: 11px;
	}

	.ahan-account-profile h1,
	.ahan-account-card__intro h1,
	.ahan-account-section__header h2 {
		font-size: 18px;
	}

	.ahan-account-profile h1 {
		font-size: 15px;
		line-height: 1.3;
	}

	.ahan-account-profile p {
		grid-column: 1 / -1;
		font-size: 12px;
		line-height: 1.4;
	}

	.ahan-account-nav {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		padding-top: 0;
	}

	.ahan-account-nav__link {
		justify-content: flex-start;
		min-height: 44px;
		padding: 10px 12px;
		font-size: 13px;
		text-align: left;
		line-height: 1.25;
	}

	.ahan-account-content {
		gap: 12px;
	}

	.ahan-account-section__header,
	.ahan-account-card__intro {
		gap: 8px;
		margin-bottom: 14px;
	}

	.ahan-account-section__header p,
	.ahan-account-card__intro p {
		font-size: 13px;
		line-height: 1.45;
	}

	.ahan-account-orders,
	.ahan-account-address-grid {
		gap: 12px;
	}

	.ahan-account-order-card,
	.ahan-account-address-card,
	.ahan-account-empty {
		padding: 14px;
	}

	.ahan-account-order-card__top {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: start;
		gap: 8px 12px;
		margin-bottom: 8px;
	}

	.ahan-account-order-card__top h3,
	.ahan-account-address-card h3,
	.ahan-account-empty h3 {
		font-size: 17px;
	}

	.ahan-account-order-card__top p,
	.ahan-account-empty p,
	.ahan-account-address-card__body,
	.ahan-account-address-card__body p {
		font-size: 13px;
		line-height: 1.45;
	}

	.ahan-account-order-card__status {
		padding: 5px 9px;
		font-size: 11px;
	}

	.ahan-account-order-card__meta {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 0;
		margin: 0 0 12px;
	}

	.ahan-account-order-card__meta div,
	.ahan-account-order-detail__summary div {
		padding: 0;
		border: 0;
		background: none;
	}

	.ahan-account-order-card__meta div:first-child::after {
		content: "·";
		display: inline-block;
		margin-inline: 6px;
		color: #64748b;
	}

	.ahan-account-order-card__meta dt,
	.ahan-account-order-card__meta dd {
		display: inline;
		margin: 0;
		font-size: 14px;
		line-height: 1.4;
		color: #53657d;
		text-transform: none;
	}

	.ahan-account-order-card__meta dt {
		display: none;
	}

	.ahan-account-order-card__meta dd {
		font-size: 15px;
		font-weight: 600;
		color: #10233f;
	}

	.ahan-account-order-card__summary {
		margin: 0 0 12px;
		font-size: 14px;
		line-height: 1.45;
	}

	.ahan-account-order-detail__summary div {
		padding: 14px 16px;
		border: 1px solid #e2e8f0;
		border-radius: 8px;
		background: #fff;
	}

	.ahan-account-order-card__action,
	.ahan-account-address-card__action,
	.ahan-account-button,
	.ahan-account-pagination a,
	.ahan-account-form-wrap .button {
		width: 100%;
	}

	.ahan-account-pagination {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		margin-top: 14px;
	}

	.ahan-account-empty {
		gap: 10px;
	}

	.ahan-account-form,
	.ahan-account-form-wrap form {
		gap: 16px;
	}

	.ahan-account-form__grid,
	.ahan-account-form__passwords {
		gap: 14px;
	}

	.ahan-account-form__passwords legend {
		margin-bottom: 0;
		font-size: 16px;
	}

	.ahan-account-field label,
	.ahan-account-form-wrap label {
		font-size: 13px;
	}

	.ahan-account-field input,
	.ahan-account-form-wrap input,
	.ahan-account-form-wrap textarea,
	.ahan-account-form-wrap select,
	.ahan-account-card .woocommerce-form input {
		min-height: 46px;
		padding: 11px 12px;
		font-size: 14px;
	}

	.ahan-account-card {
		max-width: none;
		margin: 0;
	}

	.ahan-account-card__intro {
		margin-bottom: 16px;
	}

	.ahan-account-card .woocommerce-form {
		gap: 14px;
	}

	.ahan-account-card .woocommerce-form .button {
		width: 100%;
	}

	.ahan-account-card .woocommerce-form-login__rememberme {
		flex-wrap: wrap;
	}

	.ahan-account-form-wrap .shop_table th,
	.ahan-account-form-wrap .shop_table td,
	.ahan-account-form-wrap table th,
	.ahan-account-form-wrap table td {
		padding: 10px 8px;
	}
}
