.account-profile-page {
	padding: 0 0 80px;
	min-height: calc(100vh - 140px);
}

.account-profile-hero {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	padding: 34px 0 18px;
}

.account-profile-hero__top {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.account-profile-hero__avatar-wrap {
	flex: 0 0 auto;
}

.account-profile-hero__avatar {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 999px;
	object-fit: cover;
}

.account-profile-hero__identity {
	min-width: 0;
}

.account-profile-hero__name {
	margin: 0 0 2px;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: #111;
}

.account-profile-hero__transactions {
	font-size: 0.9rem;
	line-height: 1.2;
	color: #7b7b7b;
}

.account-profile-hero__meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.account-profile-hero__rating {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.account-profile-hero__rating-score {
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
	color: #111;
}

.account-profile-hero__rating a {
	font-size: 0.88rem;
	line-height: 1.2;
	color: #111;
	text-decoration: underline;
}

.account-profile-hero__edit-wrap {
	flex: 0 0 auto;
}

.account-profile-hero__edit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	padding: 0 18px;
	border: 1px solid #d9d9d9;
	background: transparent;
	color: #111;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.account-profile-hero__joined {
	display: flex;
	align-items: center;
	gap: 18px;
	font-size: 0.88rem;
	line-height: 1.2;
	color: #333;
}

.account-profile-hero__location {
	position: relative;
	padding-left: 16px;
	color: #6b6b6b;
}

.account-profile-hero__location::before {
	content: "◉";
	position: absolute;
	left: 0;
	top: 0;
	font-size: 0.65rem;
	color: #9a9a9a;
}

.account-profile-tabs {
	display: flex;
	align-items: center;
	gap: 34px;
	border-bottom: 1px solid #d9d9d9;
	margin-bottom: 26px;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}

.account-profile-tabs::-webkit-scrollbar {
	display: none;
}

.account-profile-tabs__item {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 50px;
	flex: 0 0 auto;
	font-size: 0.92rem;
	line-height: 1;
	color: #111;
	text-decoration: none;
}

.account-profile-tabs__item.is-active {
	font-weight: 800;
}

.account-profile-tabs__item.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: #111;
}

.account-profile-content {
	position: relative;
	transition: opacity 0.18s ease;
}

.account-profile-content.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.account-profile-content .woocommerce-notices-wrapper {
	margin-bottom: 20px;
}

.account-profile-content__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 34px;
}

.account-profile-content__count {
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
	color: #111;
}

.account-profile-content__filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 24px;
	border: 0;
	background: #111;
	color: #fff;
	font-size: 0.74rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	cursor: pointer;
}

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

.account-listing-card {
	min-width: 0;
}

.account-listing-card__media {
	position: relative;
	background: #f3f3f3;
	overflow: hidden;
	aspect-ratio: 0.9;
}

.account-profile-page .account-listing-card__image,
.woocommerce-page .account-profile-page .account-listing-card__image,
.woocommerce .account-profile-page .account-listing-card__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center top;
}

.account-listing-card__image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 0.82rem;
	font-weight: 700;
	color: #7a7a7a;
	background: #f1f1f1;
}

.account-listing-card__status {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	padding: 0 10px;
	background: rgba(17, 17, 17, 0.9);
	color: #fff;
	font-size: 0.66rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.account-listing-card__status--draft {
	background: rgba(90, 90, 90, 0.92);
}

.account-listing-card__status--pending {
	background: rgba(130, 100, 20, 0.92);
}

.account-listing-card__status--private {
	background: rgba(60, 60, 60, 0.92);
}

.account-listing-card__status--publish {
	background: rgba(17, 17, 17, 0.9);
}

.account-listing-card__body {
	padding-top: 12px;
}

.account-listing-card__title {
	margin: 0 0 6px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	color: #111;
}

.account-listing-card__title a {
	color: inherit;
	text-decoration: none;
}

.account-listing-card__price {
	margin-bottom: 10px;
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.2;
	color: #111;
}

.account-listing-card__meta {
	margin-bottom: 10px;
	font-size: 0.78rem;
	line-height: 1.3;
	color: #6f6f6f;
}

.account-listing-card__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.account-listing-card__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid #111;
	background: #111;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	cursor: pointer;
}

.account-listing-card__action--secondary {
	background: #fff;
	color: #111;
}

.account-profile-empty h2 {
	margin: 0 0 24px;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.25;
	color: #111;
}

.account-profile-empty__text {
	margin: 0 0 20px;
	max-width: 520px;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #6f6f6f;
}

.account-profile-empty__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	background: #111;
	color: #fff;
	font-size: 0.74rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
}

/* Order rows */

.account-profile-grid--orders {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.account-listing-card--order {
	display: grid;
	grid-template-columns: 136px minmax(0, 1fr);
	gap: 22px;
	padding: 20px;
	border: 1px solid #e6e6e6;
	background: #fff;
}

.account-listing-card--order .account-listing-card__media {
	aspect-ratio: 1;
	border: 1px solid #efefef;
	background: #f7f7f7;
}

.account-listing-card--order .account-listing-card__status {
	top: 8px;
	left: 8px;
	min-height: 24px;
	padding: 0 8px;
	font-size: 0.62rem;
}

.account-listing-card--order .account-listing-card__body {
	padding-top: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"title actions"
		"price actions"
		"meta actions";
	column-gap: 24px;
	row-gap: 0;
	align-items: start;
	min-width: 0;
}

.account-listing-card--order .account-listing-card__title {
	grid-area: title;
	margin-bottom: 8px;
	font-size: 1rem;
	line-height: 1.3;
}

.account-listing-card--order .account-listing-card__price {
	grid-area: price;
	margin-bottom: 10px;
	font-size: 0.95rem;
}

.account-listing-card--order .account-listing-card__meta {
	grid-area: meta;
	margin-bottom: 0;
	font-size: 0.8rem;
	line-height: 1.45;
	color: #6f6f6f;
}

.account-listing-card--order .account-listing-card__actions {
	grid-area: actions;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	flex-wrap: nowrap;
	margin-left: auto;
}

.account-listing-card--order .account-listing-card__action {
	min-width: 150px;
}

.account-listing-card__action--review {
	background: #fff;
	color: #111;
}

.account-review-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 14px;
	background: #f3f3f3;
	color: #111;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.account-review-pending {
	max-width: 220px;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #7a7a7a;
	text-align: right;
}

/* Reviews */

.account-reviews {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.account-reviews-summary {
	padding: 46px 28px 38px;
	border: 1px solid #e3e3e3;
	background: #fafafa;
	text-align: center;
}

.account-reviews-summary__title {
	margin: 0 0 18px;
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1.1;
	color: #111;
}

.account-reviews-summary__count {
	margin-top: 14px;
	font-size: 1rem;
	line-height: 1.2;
	color: #111;
}

.account-stars {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.account-stars__star {
	font-size: 1.2rem;
	line-height: 1;
	color: #cfcfcf;
}

.account-stars__star.is-active {
	color: #118a53;
}

.account-stars--summary {
	margin: 0 auto;
}

.account-stars--summary .account-stars__star {
	font-size: 2.5rem;
}

.account-stars--review {
	justify-content: flex-start;
	margin-bottom: 16px;
}

.account-stars--review .account-stars__star {
	font-size: 1.3rem;
}

.account-tag-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.account-tag-pills--summary {
	margin-top: 24px;
}

.account-tag-pills--review {
	justify-content: flex-start;
	margin-top: 18px;
}

.account-tag-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 0 14px;
	border: 1px solid #dddddd;
	background: #fff;
	font-size: 0.76rem;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #111;
}

.account-review-list {
	display: flex;
	flex-direction: column;
	gap: 44px;
}

.account-review-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 140px;
	gap: 28px;
	align-items: start;
	padding-top: 6px;
}

.account-review-card__date {
	margin-bottom: 12px;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
	color: #111;
}

.account-review-card__text {
	font-size: 1.02rem;
	line-height: 1.6;
	color: #111;
}

.account-review-card__product {
	display: flex;
	justify-content: flex-end;
}

.account-review-card__product a {
	display: block;
}

.account-review-card__image {
	display: block;
	width: 140px;
	height: 140px;
	object-fit: cover;
	background: #f1f1f1;
}

.account-review-card__image--placeholder {
	background: #f1f1f1;
}

/* Review modal */

.account-review-modal {
	position: fixed;
	inset: 0;
	z-index: 10040;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.account-review-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.account-review-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.account-review-modal__dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(640px, calc(100vw - 32px));
	max-height: calc(100vh - 40px);
	padding: 28px;
	background: #fff;
	transform: translate(-50%, -50%);
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.account-review-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #111;
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
}

.account-review-modal__header {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding-right: 28px;
	margin-bottom: 24px;
}

.account-review-modal__media {
	min-width: 0;
}

.account-review-modal__image-link {
	display: block;
	border: 1px solid #ececec;
	background: #f6f6f6;
	text-decoration: none;
}

.account-review-modal__image-link.is-empty {
	pointer-events: none;
}

.account-review-modal__image {
	display: block;
	width: 100%;
	height: 112px;
	object-fit: cover;
}

.account-review-modal__summary {
	min-width: 0;
}

.account-review-modal__eyebrow {
	margin-bottom: 6px;
	font-size: 0.7rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7b7b7b;
}

.account-review-modal__title {
	margin: 0 0 6px;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.2;
	color: #111;
}

.account-review-modal__seller {
	font-size: 0.88rem;
	line-height: 1.4;
	color: #5f5f5f;
}

.account-review-modal__product-link {
	margin-top: 10px;
	display: inline-block;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.3;
	color: #111;
	text-decoration: underline;
}

.account-review-modal__product-link.is-empty {
	pointer-events: none;
	text-decoration: none;
	color: #111;
}

.account-review-modal__form {
	display: grid;
	gap: 18px;
}

.account-review-modal__field {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.account-review-modal__label {
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #111;
}

.account-review-modal__form select,
.account-review-modal__form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 1px solid #d9d9d9;
	background: #fff;
	color: #111;
	font-size: 0.92rem;
	line-height: 1.45;
	padding: 12px 14px;
	outline: none;
	box-sizing: border-box;
}

.account-review-modal__form textarea {
	min-height: 150px;
	resize: vertical;
}

.account-review-modal__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.account-review-modal__tag {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid #d9d9d9;
	background: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
	cursor: pointer;
}

.account-review-modal__tag input {
	margin: 0;
	accent-color: #111;
}

.account-review-modal__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	padding-top: 4px;
}

.account-review-modal__cancel,
.account-review-modal__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 18px;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
}

.account-review-modal__cancel {
	border: 1px solid #d5d5d5;
	background: #fff;
	color: #111;
}

.account-review-modal__submit {
	border: 1px solid #111;
	background: #111;
	color: #fff;
}

.account-review-modal__submit[disabled] {
	opacity: 0.7;
	cursor: wait;
}

/* Order details endpoint */

.account-order-page {
	padding: 34px 0 80px;
	min-height: calc(100vh - 140px);
}

.account-order-page .site-container {
	max-width: 1080px;
}

.account-order-page .woocommerce-notices-wrapper,
.account-order-page .woocommerce-message,
.account-order-page .woocommerce-info,
.account-order-page .woocommerce-error {
	margin-bottom: 18px;
}

.account-order-page .woocommerce-order-details,
.account-order-page .woocommerce-customer-details,
.account-order-page .woocommerce-columns--addresses,
.account-order-page nav.woocommerce-MyAccount-navigation,
.account-order-page .woocommerce-MyAccount-navigation,
.account-order-page .woocommerce-MyAccount-content > p:first-child {
	display: none;
}

.account-order-layout {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.account-order-sidebar {
	display: flex;
	flex-direction: column;
	padding-top: 18px;
	min-height: 100%;
}

.account-order-sidebar__section {
	display: block;
}

.account-order-sidebar__section + .account-order-sidebar__section {
	margin-top: 28px;
}

.account-order-sidebar__section--activity {
	margin-top: 0;
}

.account-order-sidebar__heading {
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	color: #111;
}

.account-order-sidebar__link {
	display: block;
	width: 100%;
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	color: #9f9f9f;
	text-decoration: none;
	text-transform: uppercase;
}

.account-order-sidebar__link.is-active {
	position: relative;
	color: #111;
	text-decoration: underline;
	text-underline-offset: 6px;
}


.account-order-sidebar__footer {
	margin-top: auto;
	padding-top: 40px;
}

.account-order-sidebar__footer-link {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	color: #9f9f9f;
	text-decoration: none;
	text-transform: uppercase;
}

.account-order-main {
	min-width: 0;
}

.account-order-header {
	margin-bottom: 28px;
}

.account-order-header h1 {
	margin: 0 0 14px;
	font-size: 2.3rem;
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: #111;
}

.account-order-meta {
	margin: 0 0 30px;
	max-width: 720px;
	font-size: 1rem;
	line-height: 1.6;
	color: #222;
}

.account-order-card {
	padding: 0;
	border: 1px solid #e5e5e5;
	background: #fff;
}

.account-order-card h2 {
	margin: 0;
	padding: 22px 24px 16px;
	border-bottom: 1px solid #ececec;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.2;
	text-transform: none;
	color: #111;
}

.account-order-items {
	display: flex;
	flex-direction: column;
}

.account-order-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	align-items: start;
	padding: 20px 24px;
	border-bottom: 1px solid #ececec;
}

.account-order-item__left {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
}

.account-order-item__thumb-wrap {
	flex: 0 0 auto;
}

.account-order-item__thumb-link {
	display: block;
	text-decoration: none;
}

.account-order-item__image {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
	background: #f3f3f3;
}

.account-order-item__image--placeholder {
	background: #f3f3f3;
}

.account-order-item__info {
	min-width: 0;
}

.account-order-item__title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
}

.account-order-item__title-link {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: #111;
	text-decoration: none;
}

.account-order-item__quantity {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: #111;
}

.account-order-item__seller {
	margin-bottom: 8px;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #6f6f6f;
}

.account-order-item__link {
	display: inline-block;
	margin-top: 0;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.3;
	color: #111;
	text-decoration: underline;
}

.account-order-item__price {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
	color: #111;
}

.account-order-totals {
	display: flex;
	flex-direction: column;
}

.account-order-total-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	align-items: start;
	padding: 15px 24px;
	border-bottom: 1px solid #ececec;
	font-size: 0.98rem;
	line-height: 1.35;
	color: #111;
}

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

.account-order-total-row span:last-child {
	font-weight: 800;
	text-align: right;
}

.account-order-addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-top: 30px;
}

.account-order-address {
	padding: 22px 24px;
	border: 1px solid #e5e5e5;
	background: #fff;
}

.account-order-address h3 {
	margin: 0 0 14px;
	font-size: 1.7rem;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: #111;
}

.account-order-address p,
.account-order-address address {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	font-style: normal;
	color: #222;
}

.account-order-address__email {
	margin-top: 14px;
}

.marketplace-order-details-view-listing {
	margin: 10px 0 0;
}

.marketplace-order-details-view-listing a {
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.25;
	color: #111;
	text-decoration: underline;
}

/* Sales dashboard */

.account-order-header--sales {
	margin-bottom: 26px;
}

.account-sales-summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 28px;
}

.account-sales-summary__card {
	padding: 20px 18px;
	border: 1px solid #e5e5e5;
	background: #fff;
}

.account-sales-summary__label {
	margin-bottom: 8px;
	font-size: 0.74rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #7a7a7a;
}

.account-sales-summary__amount {
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #111;
}

.account-sales-summary__subtext {
	margin-top: 10px;
	font-size: 0.84rem;
	line-height: 1.35;
	color: #6f6f6f;
}

.account-sales-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.account-listing-card--sale .account-listing-card__body {
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"title actions"
		"price actions"
		"meta actions"
		"salesmeta actions";
	row-gap: 6px;
}

.account-sales-row-meta {
	grid-area: salesmeta;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.account-sales-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	padding: 0 10px;
	border: 1px solid #dcdcdc;
	background: #fff;
	font-size: 0.66rem;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #111;
}

.account-sales-pill--status {
	background: #f4f4f4;
	border-color: #e5e5e5;
}

.account-sales-pill--available {
	background: #eef8f1;
	border-color: #cfe8d6;
	color: #246b3d;
}

.account-sales-pill--on-hold {
	background: #fff5e7;
	border-color: #f0d7aa;
	color: #9a6808;
}

.account-sales-pill--processing {
	background: #f2f2f2;
	border-color: #e2e2e2;
	color: #5c5c5c;
}

.account-sales-row-meta__release {
	font-size: 0.76rem;
	line-height: 1.3;
	color: #6f6f6f;
}

/* Sale detail */

.account-sales-detail {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.account-sales-detail__back {
	margin-bottom: -4px;
}

.account-sales-detail__back a {
	display: inline-block;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
	text-decoration: none;
}

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

.account-sales-detail__main,
.account-sales-detail__side {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.account-sales-detail__item {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr) auto;
	gap: 18px;
	align-items: start;
	padding: 22px 24px;
}

.account-sales-detail__media {
	min-width: 0;
}

.account-sales-detail__image {
	display: block;
	width: 112px;
	height: 112px;
	object-fit: cover;
	background: #f3f3f3;
}

.account-sales-detail__image--placeholder {
	background: #f3f3f3;
}

.account-sales-detail__content {
	min-width: 0;
}

.account-sales-detail__title {
	margin: 0 0 10px;
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.25;
	color: #111;
}

.account-sales-detail__title a {
	color: inherit;
	text-decoration: none;
}

.account-sales-detail__buyer {
	margin-bottom: 14px;
	font-size: 0.92rem;
	line-height: 1.45;
	color: #5f5f5f;
}

.account-sales-detail__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.account-sales-detail__amount {
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.15;
	color: #111;
	white-space: nowrap;
}

.account-sales-detail__rows {
	display: flex;
	flex-direction: column;
}

.account-sales-detail__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: start;
	padding: 16px 24px;
	border-bottom: 1px solid #ececec;
	font-size: 0.95rem;
	line-height: 1.35;
	color: #111;
}

.account-sales-detail__row:last-child {
	border-bottom: 0;
}

.account-sales-detail__row strong {
	font-weight: 800;
	text-align: right;
}

.account-sales-payout-card {
	padding: 22px 24px;
}

.account-sales-payout-card__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 0 12px;
	border: 1px solid #dcdcdc;
	font-size: 0.7rem;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #111;
	background: #fff;
}

.account-sales-payout-card__status--available {
	background: #eef8f1;
	border-color: #cfe8d6;
	color: #246b3d;
}

.account-sales-payout-card__status--on-hold {
	background: #fff5e7;
	border-color: #f0d7aa;
	color: #9a6808;
}

.account-sales-payout-card__status--processing {
	background: #f2f2f2;
	border-color: #e2e2e2;
	color: #5c5c5c;
}

.account-sales-payout-card__amount {
	margin-top: 16px;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: #111;
}

.account-sales-payout-card__note {
	margin-top: 12px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #6f6f6f;
}

@media (min-width: 781px) {
	.account-profile-page .site-container {
		max-width: 1080px;
	}

	.account-profile-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 34px 22px;
	}

	.account-profile-empty {
		max-width: 560px;
	}
}

@media (max-width: 1180px) {
	.account-sales-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.account-sales-detail__layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 980px) {
	.account-order-layout {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.account-order-sidebar {
		padding-top: 0;
		min-height: auto;
	}

	.account-order-sidebar__section {
		display: block;
		margin-right: 0;
	}

	.account-order-sidebar__section + .account-order-sidebar__section {
		margin-top: 20px;
	}

	.account-order-sidebar__footer {
		margin-top: 20px;
		padding-top: 0;
	}
}

@media (max-width: 780px) {
	.account-profile-page {
		padding: 0 0 48px;
	}

	.account-profile-page .site-container,
	.account-order-page .site-container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.account-profile-hero {
		padding: 18px 0 8px;
		gap: 8px;
	}

	.account-profile-hero__top {
		gap: 12px;
		align-items: center;
	}

	.account-profile-hero__avatar {
		width: 58px;
		height: 58px;
	}

	.account-profile-hero__name {
		font-size: 0.98rem;
		line-height: 1.08;
		margin-bottom: 2px;
	}

	.account-profile-hero__transactions {
		font-size: 0.76rem;
		line-height: 1.15;
	}

	.account-profile-hero__meta-row {
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	.account-profile-hero__rating {
		gap: 8px;
		flex-wrap: nowrap;
		min-width: 0;
	}

	.account-profile-hero__rating-score {
		font-size: 0.84rem;
		line-height: 1.1;
		flex: 0 0 auto;
	}

	.account-profile-hero__rating a {
		font-size: 0.74rem;
		line-height: 1.15;
		white-space: nowrap;
	}

	.account-profile-hero__edit {
		height: 32px;
		padding: 0 12px;
		font-size: 0.66rem;
		letter-spacing: 0.05em;
		white-space: nowrap;
	}

	.account-profile-hero__joined {
		gap: 12px;
		flex-wrap: wrap;
		font-size: 0.74rem;
		line-height: 1.15;
	}

	.account-profile-hero__location {
		padding-left: 15px;
	}

	.account-profile-tabs {
		gap: 24px;
		margin-bottom: 14px;
		padding-bottom: 0;
	}

	.account-profile-tabs__item {
		height: 42px;
		font-size: 0.82rem;
	}

	.account-profile-content__bar {
		margin-bottom: 24px;
		align-items: center;
	}

	.account-profile-content__count {
		font-size: 0.84rem;
	}

	.account-profile-content__filter {
		height: 40px;
		padding: 0 20px;
		font-size: 0.72rem;
		letter-spacing: 0.05em;
	}

	.account-profile-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 12px;
	}

	.account-profile-grid--orders {
		display: flex;
		flex-direction: column;
		gap: 14px;
	}

	.account-listing-card__status {
		top: 8px;
		left: 8px;
		min-height: 24px;
		padding: 0 8px;
		font-size: 0.62rem;
	}

	.account-listing-card__body {
		padding-top: 10px;
	}

	.account-listing-card__title {
		font-size: 0.82rem;
		line-height: 1.3;
		margin-bottom: 4px;
	}

	.account-listing-card__price {
		font-size: 0.82rem;
		margin-bottom: 8px;
	}

	.account-listing-card__meta {
		font-size: 0.7rem;
		margin-bottom: 8px;
	}

	.account-listing-card__actions {
		gap: 8px;
	}

	.account-listing-card__action {
		min-height: 30px;
		padding: 0 10px;
		font-size: 0.62rem;
	}

	.account-listing-card--order {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 12px;
		padding: 12px;
	}

	.account-listing-card--order .account-listing-card__media {
		aspect-ratio: 1;
	}

	.account-listing-card--order .account-listing-card__body {
		display: block;
		padding-top: 0;
	}

	.account-listing-card--order .account-listing-card__title {
		font-size: 0.84rem;
		margin-bottom: 4px;
	}

	.account-listing-card--order .account-listing-card__price {
		font-size: 0.82rem;
		margin-bottom: 6px;
	}

	.account-listing-card--order .account-listing-card__meta {
		font-size: 0.68rem;
		line-height: 1.35;
		margin-bottom: 10px;
	}

	.account-listing-card--order .account-listing-card__actions {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: stretch;
		gap: 8px;
		margin-top: 0;
	}

	.account-listing-card--order .account-listing-card__action,
	.account-review-status {
		min-width: 0;
	}

	.account-review-pending {
		max-width: none;
		width: 100%;
		font-size: 0.62rem;
		text-align: left;
	}

	.account-profile-empty h2 {
		font-size: 0.94rem;
		line-height: 1.22;
		margin-bottom: 16px;
		max-width: 320px;
	}

	.account-profile-empty__text {
		font-size: 0.8rem;
		line-height: 1.5;
		margin-bottom: 16px;
		max-width: 320px;
	}

	.account-profile-empty__button {
		min-height: 42px;
		padding: 0 22px;
		font-size: 0.7rem;
		letter-spacing: 0.05em;
	}

	.account-reviews {
		gap: 34px;
	}

	.account-reviews-summary {
		padding: 34px 16px 28px;
	}

	.account-reviews-summary__title {
		font-size: 1.15rem;
		margin-bottom: 16px;
	}

	.account-reviews-summary__count {
		margin-top: 12px;
		font-size: 0.88rem;
	}

	.account-stars--summary .account-stars__star {
		font-size: 2rem;
	}

	.account-tag-pills {
		gap: 8px;
	}

	.account-tag-pills--summary {
		margin-top: 18px;
	}

	.account-tag-pill {
		min-height: 28px;
		padding: 0 12px;
		font-size: 0.68rem;
		letter-spacing: 0.03em;
	}

	.account-review-list {
		gap: 32px;
	}

	.account-review-card {
		grid-template-columns: 1fr 96px;
		gap: 16px;
	}

	.account-review-card__date {
		font-size: 0.9rem;
		margin-bottom: 10px;
	}

	.account-stars--review {
		margin-bottom: 12px;
	}

	.account-stars--review .account-stars__star {
		font-size: 1.15rem;
	}

	.account-review-card__text {
		font-size: 0.92rem;
		line-height: 1.55;
	}

	.account-review-card__image {
		width: 96px;
		height: 96px;
	}

	.account-review-modal__dialog {
		top: auto;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-height: 92dvh;
		padding: 20px 16px 16px;
		transform: none;
		border-radius: 16px 16px 0 0;
	}

	.account-review-modal__close {
		top: 10px;
		right: 10px;
		width: 34px;
		height: 34px;
		font-size: 1.5rem;
	}

	.account-review-modal__header {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 14px;
		padding-right: 30px;
		margin-bottom: 18px;
	}

	.account-review-modal__image {
		height: 84px;
	}

	.account-review-modal__eyebrow {
		font-size: 0.64rem;
	}

	.account-review-modal__title {
		font-size: 0.95rem;
	}

	.account-review-modal__seller {
		font-size: 0.78rem;
	}

	.account-review-modal__product-link {
		font-size: 0.74rem;
	}

	.account-review-modal__form {
		gap: 14px;
	}

	.account-review-modal__label {
		font-size: 0.64rem;
	}

	.account-review-modal__form select,
	.account-review-modal__form textarea {
		font-size: 0.84rem;
		padding: 10px 12px;
	}

	.account-review-modal__form textarea {
		min-height: 120px;
	}

	.account-review-modal__tags {
		gap: 8px;
	}

	.account-review-modal__tag {
		min-height: 34px;
		padding: 0 12px;
		font-size: 0.7rem;
	}

	.account-review-modal__actions {
		justify-content: stretch;
		gap: 8px;
	}

	.account-review-modal__cancel,
	.account-review-modal__submit {
		flex: 1 1 0;
		min-height: 38px;
		padding: 0 12px;
		font-size: 0.64rem;
	}

	.account-order-page {
		padding: 20px 0 48px;
	}

	.account-order-layout {
		gap: 18px;
	}

	.account-order-sidebar {
		display: none;
	}

	.account-order-header {
		margin-bottom: 18px;
	}

	.account-order-header h1 {
		font-size: 1.35rem;
		margin-bottom: 8px;
		line-height: 1.12;
	}

	.account-order-meta {
		margin-bottom: 18px;
		font-size: 0.82rem;
		line-height: 1.45;
	}

	.account-order-card h2 {
		padding: 16px;
		font-size: 1.1rem;
	}

	.account-order-item {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 14px 16px;
	}

	.account-order-item__left {
		gap: 12px;
	}

	.account-order-item__image {
		width: 56px;
		height: 56px;
	}

	.account-order-item__title-link,
	.account-order-item__quantity {
		font-size: 0.9rem;
	}

	.account-order-item__seller {
		margin-bottom: 6px;
		font-size: 0.78rem;
	}

	.account-order-item__link {
		font-size: 0.76rem;
	}

	.account-order-item__price {
		font-size: 0.86rem;
	}

	.account-order-total-row {
		padding: 13px 16px;
		font-size: 0.84rem;
		gap: 12px;
	}

	.account-order-addresses {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 18px;
	}

	.account-order-address {
		padding: 16px;
	}

	.account-order-address h3 {
		margin-bottom: 10px;
		font-size: 1rem;
	}

	.account-order-address p,
	.account-order-address address {
		font-size: 0.82rem;
		line-height: 1.55;
	}

	.marketplace-order-details-view-listing,
	.marketplace-order-details-view-listing a {
		font-size: 0.76rem;
	}

	.account-sales-summary {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-bottom: 20px;
	}

	.account-sales-summary__card {
		padding: 16px;
	}

	.account-sales-summary__amount {
		font-size: 1.28rem;
	}

	.account-sales-summary__subtext {
		font-size: 0.76rem;
	}

	.account-sales-list {
		gap: 14px;
	}

	.account-sales-row-meta {
		gap: 6px;
		margin-bottom: 10px;
	}

	.account-sales-pill {
		min-height: 24px;
		padding: 0 8px;
		font-size: 0.58rem;
	}

	.account-sales-row-meta__release {
		width: 100%;
		font-size: 0.68rem;
	}

	.account-sales-detail {
		gap: 16px;
	}

	.account-sales-detail__back a {
		font-size: 0.78rem;
	}

	.account-sales-detail__layout {
		gap: 16px;
	}

	.account-sales-detail__main,
	.account-sales-detail__side {
		gap: 16px;
	}

	.account-sales-detail__item {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 12px;
		padding: 16px;
	}

	.account-sales-detail__image {
		width: 72px;
		height: 72px;
	}

	.account-sales-detail__title {
		font-size: 0.92rem;
		margin-bottom: 8px;
	}

	.account-sales-detail__buyer {
		margin-bottom: 10px;
		font-size: 0.78rem;
	}

	.account-sales-detail__amount {
		grid-column: 1 / -1;
		font-size: 0.92rem;
	}

	.account-sales-detail__row {
		padding: 14px 16px;
		gap: 12px;
		font-size: 0.84rem;
	}

	.account-sales-payout-card {
		padding: 16px;
	}

	.account-sales-payout-card__status {
		min-height: 28px;
		font-size: 0.62rem;
	}

	.account-sales-payout-card__amount {
		margin-top: 12px;
		font-size: 1.42rem;
	}

	.account-sales-payout-card__note {
		margin-top: 10px;
		font-size: 0.8rem;
	}
}

.account-profile-page--woocommerce-endpoint .woocommerce-MyAccount-navigation {
	display: none;
}

.account-profile-page--woocommerce-endpoint .woocommerce-MyAccount-content {
	width: 100%;
	float: none;
}
