/* Perheaven My Account custom layout */

body.my-account-page {
	background-color: #f5f7fa;
	color: #0f172a;
	font-family: inherit;
}

.myaccount-hero {
	position: fixed;
	inset: 0;
	z-index: 0;
}

.myaccount-hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-position: center;
	background-size: cover;
}

.myaccount-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(12, 21, 41, 0.7), rgba(12, 21, 41, 0.4));
}

.myaccount-hero__logo {
	position: absolute;
	top: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.myaccount-hero__logo img {
	max-height: 42px;
}

.myaccount-wrapper {
	position: relative;
	z-index: 3;
	padding-top: 40px;
	padding-bottom: 80px;
}
a.myaccount-menu__link.my-logout {
	color: var(--actions-error, #780000);
	text-align: right;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.myaccount-panel {
}
.order-tabs .nav-tabs {
	background: var(--bg-surf-container-low, #F0F4F8);
	width: fit-content;
	margin: auto;
	border-radius: 500rem;
	border: none;
	padding: 5px;
}
.order-tabs .nav-tabs .nav-link.active, .order-tabs .nav-tabs .nav-item.show .nav-link {
	border: none;
	/* border-bottom: 2px solid #000; */
	background: var(--bg-surf-container-highest, #DFE3E7);
	border-radius: 500rem;
	padding: 5px 25px;
	color: #000;
}
.order-tabs .nav-tabs .nav-link:hover {
	border-width: 0;
	border: none;
}
.order-tabs .badge {
	border-radius: 500rem;
	background: #b1aeae;
	width: 20px;
	height: 20px;
	line-height: normal;
}
.nav-link:focus-visible {
	outline: 0;
	box-shadow: unset;
}
.order-tabs .nav-tabs .nav-link {
	margin-bottom: 0;
	border: none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	padding: 5px 25px;
	color: var(--text-border-outline, #71787E);
	text-align: right;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.myaccount-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.myaccount-section__header h1 {
	margin: 0 0 4px;
	font-size: 24px;
	font-weight: 700;
}

.myaccount-section__header p {
	margin: 0;
	color: #6b7280;
}

.myaccount-section__body {
	color: #0f172a;
}



.my-account-sidebar{
	border-radius: var(--xl, 24px);
	border: 1px solid var(--text-border-outline-var, #E4EAF0);
	padding: 16px;
}
.myaccount-profile-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	padding: 20px;
	gap: 10px;
}


.address-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}


.address-card {
	background: #f8fafc;
	border-radius: 22px;
	padding: 20px;
	box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.address-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.address-card__header h3 {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
}

.address-card__delete {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: rgba(248, 113, 113, 0.18);
	color: #b91c1c;
	font-size: 18px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease;
}

.address-card__delete:hover {
	background: rgba(248, 113, 113, 0.28);
}

.address-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	color: #4b5563;
}

.address-empty {
	text-align: center;
}
.address-empty p {
	color: var(--text-border-on-surface, #181C1F);
	text-align: center;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	padding-top: 20px;
}

.address-empty p {
	margin: 0;
	color: #6b7280;
}

#perheaven-address-error {
	font-size: 14px;
}

.modal .a-48 {
	width: 100%;
	justify-content: center;
}

.myaccount-auth-card__icon {
	margin-inline-end: 24px;
	flex-shrink: 0;
}

.myaccount-auth-card__body h1 {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 12px;
}

.myaccount-auth-card__body p {
	font-size: 16px;
	color: #4b5563;
	margin-bottom: 24px;
}

.myaccount-auth-card__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.myaccount-panel__header h2 {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 8px;
}

.myaccount-panel__header p {
	color: #6b7280;
	margin-bottom: 24px;
}

.accordion-item {
	background: transparent;
	border: none;
	border-bottom: 1px solid #e5e7eb;
}

.accordion-button {
	background: transparent;
	font-weight: 600;
	font-size: 16px;
	padding: 20px 0;
}

.accordion-button:not(.collapsed) {
	color: #0f172a;
	box-shadow: none;
}

.accordion-body {
	padding-inline: 0;
	padding-block: 0 24px;
	color: #4b5563;
	line-height: 1.8;
}

.myaccount-stats .myaccount-stat-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #f8fafc;
	border-radius: 20px;
	padding: 20px;
}

.myaccount-stat-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: linear-gradient(135deg, #eef2ff, #e0e7ff);
	color: #4338ca;
}

.myaccount-stat-card p {
	margin: 0;
	font-size: 14px;
	color: #6b7280;
}

.myaccount-stat-card strong {
	display: block;
	font-size: 20px;
	font-weight: 700;
	color: #111827;
	margin-top: 4px;
}

.order-list {
	display: grid;
	gap: 18px;
}

.order-card {
	border-radius: 22px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.order-card__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.order-card__row h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

.order-card__date {
	display: block;
	margin-top: 4px;
	color: #94a3b8;
	font-size: 14px;
}

.order-card__info {
	color: #4b5563;
	font-size: 14px;
}

.order-card__total {
	font-weight: 700;
	color: #111827;
	font-size: 15px;
}

.order-card__footer {
	display: flex;
	justify-content: flex-end;
}

.order-empty {

}

.order-empty p {
	color: #6b7280;
	margin-bottom: 16px;
}

.status-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	background: rgba(37, 99, 235, 0.12);
	color: #1d4ed8;
}

.status-completed {
	background: rgba(16, 185, 129, 0.14);
	color: #047857;
}

.status-processing {
	background: rgba(59, 130, 246, 0.12);
	color: #1d4ed8;
}

.status-on-hold,
.status-pending {
	background: rgba(245, 158, 11, 0.18);
	color: #b45309;
}

.status-cancelled,
.status-refunded {
	background: rgba(248, 113, 113, 0.18);
	color: #b91c1c;
}

.order-detail-card {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 26px;
	padding: 32px;
	box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.order-detail-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.order-detail-card__header h2 {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 700;
}

.order-detail-card__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.order-detail-card__meta {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	padding: 24px;
	background: #f8fafc;
	border-radius: 20px;
}

.order-detail-card__meta .label {
	display: block;
	color: #94a3b8;
	font-size: 14px;
	margin-bottom: 6px;
}

.order-detail-card__meta strong {
	font-size: 16px;
	color: #0f172a;
}

.order-items-table {
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
}

.order-items-table__header,
.order-items-table__row {
	display: grid;
	grid-template-columns: 2fr repeat(3, minmax(120px, 1fr));
	align-items: center;
	gap: 12px;
	padding: 18px 24px;
}

.order-items-table__header {
	background: #f1f5f9;
	font-weight: 600;
	color: #475569;
}

.order-items-table__row:nth-child(even) {
	background: rgba(248, 250, 252, 0.6);
}

.order-detail-card__addresses {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.order-detail-card__addresses h3 {
	font-size: 18px;
	margin-bottom: 8px;
}

.order-detail-card__addresses .text-muted {
	color: #64748b;
	font-size: 14px;
}

.order-detail-card__totals {
	background: #f8fafc;
	border-radius: 20px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.order-total-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 15px;
	color: #1f2937;
}

.order-detail-card__note {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed #cbd5f5;
	font-size: 14px;
	color: #4b5563;
}

@media (max-width: 768px) {
	.order-items-table__header,
	.order-items-table__row {
		grid-template-columns: 1.5fr repeat(3, minmax(90px, 1fr));
		padding-inline: 16px;
	}

	.order-detail-card__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.order-detail-card__actions {
		width: 100%;
		justify-content: stretch;
	}

	.order-detail-card__actions .a-48 {
		flex: 1;
	}
}

.invoice-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.invoice-company {
	font-size: 18px;
	font-weight: 700;
}

.invoice-meta {
	color: #555;
	font-size: 14px;
}

.invoice-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 24px;
}

.invoice-table th,
.invoice-table td {
	border: 1px solid #d1d5db;
	padding: 10px 16px;
	text-align: right;
}

.invoice-table th {
	background: #f1f5f9;
	font-weight: 600;
}

.myaccount-profile-card {
	border-radius: var(--xl, 24px);
	background: var(--bg-surf-container-high, #E5E8ED);
}



.myaccount-profile-card__body h3 {
	color: var(--text-border-on-surface, #181C1F);
	text-align: right;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.myaccount-profile-card__meta {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.client-det{
	color: var(--text-border-outline, #71787E);
	text-align: right;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.pt-b-body {
	display: flex;
	gap: 7px;
	flex-direction: column;
}
.pt-b-title {
	color: var(--text-border-on-surface, #181C1F);
	text-align: right;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.pt-b-cont {
	color: var(--text-border-outline, #71787E);
	text-align: right;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.wishlist-item-image img {
	width: 245px;
	height: 245px;
	object-fit: contain;
}
.wli-price-title a {
	color: var(--text-border-on-surface-var, #41484D);
	text-align: center;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.wli-price {
	color: var(--text-border-on-surface, #181C1F);
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	font-size: 16px;
}
.no-wishlist h4 {
	padding: 32px;
	color: var(--text-border-on-surface, #181C1F);
	text-align: center;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.b-500{
	border-radius: 500rem !important;
}
.myaccount-profile-card__meta span {
	display: block;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 4px;
}

.myaccount-profile-card__meta strong {
	font-size: 16px;
	font-weight: 600;
}

.myaccount-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.myaccount-menu__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	color: #111827;
	text-decoration: none;
	font-weight: 400;
	transition: all 0.2s ease;
}

.myaccount-menu__link.is-active {
	background: var(--bg-surf-container-high, #E5E8ED);
	color: var(--text-border-on-surface, #181C1F);
	text-align: right;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	border-radius: var(--lg, 16px);
}

.myaccount-menu__link.logout-link {
	background: rgba(248, 113, 113, 0.12);
	color: #b91c1c;
}

.myaccount-menu__icon svg {
	display: block;
}

.a-48,
.a-32 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 500rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.a-48 {
	height: 48px;
	padding: 0 26px;
}

.a-32 {
	height: 36px;
	padding: 0 18px;
	font-size: 14px;
}

.a-48--primary {
	background: linear-gradient(135deg, #2563eb, #7c3aed);
	color: #fff;
	box-shadow: 0 14px 35px rgba(37, 99, 235, 0.35);
}

.a-48--primary:hover {
	box-shadow: 0 14px 35px rgba(124, 58, 237, 0.35);
	transform: translateY(-1px);
	color: #fff;
}

.a-48--ghost {
	border: 1.5px solid rgba(148, 163, 184, 0.4);
	color: #111827;
	background: rgba(255, 255, 255, 0.6);
}

.a-48--ghost:hover {
	border-color: rgba(37, 99, 235, 0.5);
	color: #1d4ed8;
}

.loading-spinner .spinner-border {
	width: 48px;
	height: 48px;
	border-width: 4px;
	color: #2563eb;
}

@media (max-width: 991.98px) {
	.myaccount-wrapper {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.myaccount-panel {
		padding: 24px;
	}

	.myaccount-auth-card {
		align-items: flex-start !important;
	}

	.myaccount-auth-card__icon {
		margin: 0 0 16px;
	}

	.order-card {
		padding: 20px;
	}

	.order-card__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.myaccount-profile-card {
		text-align: right;
	}
}

@media (max-width: 575.98px) {
	.myaccount-wrapper {
		padding-top: 40px;
	}

	.myaccount-panel {
		padding: 20px;
		border-radius: 22px;
	}

	.order-items-table__header,
	.order-items-table__row {
		grid-template-columns: 1fr 0.6fr 0.6fr 0.8fr;
	}

	.order-detail-card__meta {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	}
}

.address-card__tools {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.address-card__edit,
.address-card__delete {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	font-size: 16px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.address-card__edit {
	background: rgba(59, 130, 246, 0.16);
	color: #1d4ed8;
}

.address-card__edit:hover {
	background: rgba(59, 130, 246, 0.26);
}

.address-card__delete {
	background: rgba(248, 113, 113, 0.18);
	color: #b91c1c;
}

.address-card__delete:hover {
	background: rgba(248, 113, 113, 0.28);
}

.modal .btn-close {
	outline: none;
}

.personality-answer-list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	display: grid;
	gap: 10px;
}

.personality-answer-list li {
	background: #f1f5f9;
	border-radius: 16px;
	padding: 12px 18px;
	font-size: 14px;
	color: #334155;
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.personality-answer-list span {
	font-weight: 600;
}

.personality-products-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.personality-product-card {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px;
	height: 100%;
}

.personality-product-card img {
	border-radius: 16px;
	width: 100%;
	height: auto;
}

.personality-product-card h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
}

.personality-product-card .english-title {
	font-size: 14px;
	color: #6b7280;
}

.personality-product-card .price {
	font-weight: 700;
	color: #111827;
	font-size: 15px;
}

.personality-product-card .actions {
	margin-top: auto;
}

.personality-empty {
	text-align: center;
	padding: 48px 24px;
	border-radius: 24px;

}

.personality-empty p {
	color: #475569;
	margin-bottom: 18px;
}

