/* ==========================================================================
   ACCOUNT AUTH — Haus Labs inspired
   ========================================================================== */

body.bigmood-account-auth #primary {
	max-width: var(--content-narrow) !important;
	padding-top: var(--section-pad-y) !important;
	padding-bottom: var(--section-pad-y-bottom) !important;
}

body.bigmood-account-auth .woocommerce-MyAccount-navigation,
body.bigmood-account-auth .entry-header,
body.bigmood-account-auth .page-title,
body.bigmood-account-auth .entry-title {
	display: none !important;
}

body.bigmood-account-auth .woocommerce-MyAccount-content {
	width: 100% !important;
	float: none !important;
}

.auth-page {
	font-family: var(--font-primary);
	-webkit-font-smoothing: antialiased;
	color: var(--color-black);
}

.auth-page__inner {
	max-width: 440px;
	margin: 0 auto;
}

.auth-page__switch {
	margin: 0 0 36px;
	font-size: 13px;
	font-weight: var(--font-weight-book);
	color: #666;
	text-align: left;
}

.auth-page__switch a {
	color: var(--color-black);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.auth-page__switch a:hover {
	opacity: 0.65;
	color: var(--color-black);
}

.auth-page__header {
	text-align: left;
	margin-bottom: 28px;
}

.auth-page__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 36px);
	font-weight: var(--font-weight-bold);
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--color-black);
	text-transform: none;
}

.auth-page__lead {
	margin: 0;
	font-size: 14px;
	font-weight: var(--font-weight-book);
	line-height: 1.55;
	color: #666;
}

.auth-page__promo {
	margin: 0 0 28px;
	padding: 18px 20px;
	border: 1px solid #e5e5e5;
	background: #fafafa;
	text-align: left;
}

.auth-page__promo-title {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-black);
}

.auth-page__promo-text {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #666;
}

.auth-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

.auth-form__row {
	margin: 0 0 20px !important;
	float: none !important;
	width: 100% !important;
}

.auth-form__row label {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-black);
}

.auth-form__row label .required {
	color: var(--color-black);
	text-decoration: none;
}

.auth-form__input,
.auth-page .woocommerce-Input,
.auth-page input.input-text {
	width: 100% !important;
	height: 48px;
	padding: 0 14px !important;
	border: 1px solid #cfcfcf !important;
	border-radius: 0;
	background: var(--color-white) !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: var(--font-weight-book) !important;
	color: var(--color-black) !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease;
}

.auth-form__input:focus,
.auth-page .woocommerce-Input:focus,
.auth-page input.input-text:focus {
	outline: none !important;
	border-color: var(--color-black) !important;
	box-shadow: none !important;
}

.auth-form__hint {
	margin: -4px 0 20px;
	font-size: 12px;
	color: #888;
	line-height: 1.4;
}

.auth-form__row--actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px !important;
}

.auth-form__remember {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	font-size: 13px !important;
	font-weight: var(--font-weight-book) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	cursor: pointer;
	color: var(--color-black);
}

.auth-form__remember input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--color-black);
	flex-shrink: 0;
}

.auth-form__forgot {
	font-size: 13px;
	color: var(--color-black);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.auth-form__forgot:hover {
	opacity: 0.65;
	color: var(--color-black);
}

/* Hide WooCommerce empty show-password toggle (no icon in our theme). */
.auth-page .password-input {
	display: block;
	position: relative;
}

.auth-page .show-password-input {
	display: none !important;
}

.auth-form__consent {
	margin: 8px 0 28px !important;
}

.auth-form__consent-label {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	margin: 0 !important;
	font-size: 13px !important;
	font-weight: var(--font-weight-book) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 1.5;
	color: #444;
	cursor: pointer;
}

.auth-form__consent-input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0 !important;
	flex-shrink: 0;
	accent-color: var(--color-black);
	cursor: pointer;
}

.auth-form__consent-text a {
	color: var(--color-black);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}

.auth-form__consent-text a:hover {
	opacity: 0.65;
}

.auth-form__consent-text .required {
	color: var(--color-black);
}

.auth-form__submit,
.auth-form__secondary {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 52px !important;
	margin: 0 !important;
	padding: 0 20px !important;
	border-radius: 0;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: var(--font-weight-bold) !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	cursor: pointer;
}

.auth-form__secondary {
	text-decoration: none;
}

.auth-page__benefits {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	text-align: left;
}

.auth-page__benefits li {
	position: relative;
	margin: 0 0 10px;
	padding: 0;
	font-size: 13px;
	font-weight: var(--font-weight-book);
	color: #555;
	line-height: 1.4;
}

.auth-page__benefits li::before {
	content: '—';
	margin-right: 8px;
	color: #bbb;
}

.auth-page__aside {
	margin-top: 48px;
	padding-top: 36px;
	text-align: left;
}

.auth-page__aside-title {
	margin: 0 0 16px;
	font-size: 14px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.auth-page__aside .auth-page__benefits {
	margin: 0 0 24px;
}

/* Notices on auth pages */
.auth-page .woocommerce-error,
.auth-page .woocommerce-message,
.auth-page .woocommerce-info {
	position: static !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 0 24px !important;
	padding: 14px 16px !important;
	background: #f5f5f5 !important;
	color: var(--color-black) !important;
	box-shadow: none !important;
	animation: none !important;
	border: 1px solid #e0e0e0 !important;
	font-size: 13px;
	list-style: none;
}

.auth-page .woocommerce-error {
	background: #f5f5f5 !important;
	border-color: #d9d9d9 !important;
}

.auth-page .woocommerce-error::before,
.auth-page .woocommerce-message::before,
.auth-page .woocommerce-info::before {
	display: none !important;
}

.auth-page .woocommerce-error li,
.auth-page .woocommerce-message li {
	margin: 0;
}

@media (max-width: 560px) {
	body.bigmood-account-auth #primary {
		padding-top: var(--section-pad-y) !important;
		padding-bottom: var(--section-pad-y-bottom) !important;
	}

	.auth-form__grid {
		grid-template-columns: 1fr;
	}

	.auth-form__row--actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.auth-page__title {
		font-size: 28px;
	}
}

/* ==========================================================================
   ACCOUNT DASHBOARD — orders only
   ========================================================================== */

body.bigmood-account-dashboard #primary {
	max-width: var(--content-medium) !important;
	padding-top: var(--section-pad-y) !important;
	padding-bottom: var(--section-pad-y-bottom) !important;
}

body.bigmood-account-dashboard .entry-header,
body.bigmood-account-dashboard .page-title,
body.bigmood-account-dashboard .entry-title,
body.bigmood-account-dashboard .woocommerce-MyAccount-navigation {
	display: none !important;
}

body.bigmood-account-dashboard .woocommerce {
	float: none !important;
	width: 100% !important;
}

.account-dashboard {
	font-family: var(--font-primary);
	-webkit-font-smoothing: antialiased;
}

.account-dashboard__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 36px;
	padding-bottom: 0;
	border-bottom: none;
}

.account-dashboard__eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #888;
}

.account-dashboard__title {
	margin: 0 0 8px;
	font-size: clamp(28px, 4vw, 36px);
	font-weight: var(--font-weight-bold);
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--color-black) !important;
}

.account-dashboard__user {
	margin: 0;
	font-size: 14px;
	font-weight: var(--font-weight-book);
	color: #666;
}

.account-dashboard__logout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.1em;
	text-decoration: none;
	white-space: nowrap;
}

.account-dashboard__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
}

.account-dashboard__nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: var(--btn-height-sm, 44px);
	padding: 0 16px;
	border: var(--btn-border-width, 1px) solid var(--btn-border-secondary, var(--color-black));
	background: var(--btn-bg-secondary, var(--color-white));
	color: var(--btn-color-secondary, var(--color-black));
	font-size: var(--btn-font-size-sm, 11px);
	font-weight: var(--font-weight-bold);
	letter-spacing: var(--btn-letter-spacing, 0.1em);
	text-transform: uppercase;
	text-decoration: none;
	transition:
		color var(--transition-duration, 300ms) ease,
		background-color var(--transition-duration, 300ms) ease,
		border-color var(--transition-duration, 300ms) ease;
}

/* Secondary hover: заливка primary */
.account-dashboard__nav-link:hover,
.account-dashboard__nav-link:focus {
	border-color: var(--btn-bg-primary, var(--color-black));
	background: var(--btn-bg-primary, var(--color-black));
	color: var(--btn-color-primary, var(--color-white));
}

/* Active = primary; hover активного — primary-hover (#333) */
.account-dashboard__nav-link.is-active {
	border-color: var(--btn-bg-primary, var(--color-black));
	background: var(--btn-bg-primary, var(--color-black));
	color: var(--btn-color-primary, var(--color-white));
}

.account-dashboard__nav-link.is-active:hover,
.account-dashboard__nav-link.is-active:focus {
	border-color: var(--btn-bg-primary-hover, #333333);
	background: var(--btn-bg-primary-hover, #333333);
	color: var(--btn-color-primary, var(--color-white));
}

.account-dashboard__nav-badge {
	font-size: 11px;
	letter-spacing: 0;
	opacity: 0.85;
}

.account-dashboard__content {
	float: none !important;
	width: 100% !important;
}

/* Achievements */
.account-achievements {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.account-achievements__intro {
	padding: 22px 24px;
	border: 1px solid #e5e5e5;
	background: var(--color-white);
}

.account-achievements__eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #888;
}

.account-achievements__count {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: var(--font-weight-semibold);
	color: var(--color-black);
}

.account-achievements__note,
.account-achievements__empty {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #666;
}

.account-achievements__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

.account-achievements__item {
	display: flex;
	gap: 16px;
	padding: 18px;
	border: 1px solid #e5e5e5;
	background: var(--color-white);
}

.account-achievements__item.is-locked {
	opacity: 0.72;
}

.account-achievements__badge {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	background: #ececec;
	overflow: hidden;
}

.account-achievements__img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
	margin: 0 !important;
}

.account-achievements__item.is-locked .account-achievements__img {
	filter: grayscale(1);
	opacity: 0.55;
}

.account-achievements__img--placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #ddd;
}

.account-achievements__body {
	min-width: 0;
	flex: 1;
}

.account-achievements__title {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: var(--font-weight-semibold);
	line-height: 1.3;
	color: var(--color-black);
}

.account-achievements__desc,
.account-achievements__cond,
.account-achievements__status,
.account-achievements__progress-text {
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.4;
	color: #666;
}

.account-achievements__status {
	color: var(--color-black);
	font-weight: var(--font-weight-medium);
}

.account-achievements__progress {
	height: 4px;
	margin: 10px 0 6px;
	background: #ececec;
	overflow: hidden;
}

.account-achievements__progress-fill {
	display: block;
	height: 100%;
	background: var(--color-black);
}

.account-achievements__progress-text {
	margin: 0;
	font-size: 12px;
	color: #888;
}

/* Bigfoots account */
.account-bigfoots {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.account-bigfoots__summary,
.account-bigfoots__history {
	padding: 22px 24px;
	border: 1px solid #e5e5e5;
	background: var(--color-white);
}

.account-bigfoots__eyebrow,
.account-bigfoots__balance-label {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #888;
}

.account-bigfoots__balance {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: var(--font-weight-bold);
	letter-spacing: -0.03em;
	color: var(--color-black);
}

.account-bigfoots__note {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #555;
}

.account-bigfoots__section-title {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-black);
}

.account-bigfoots__empty {
	margin: 0;
	font-size: 14px;
	color: #777;
}

.account-bigfoots__ledger {
	list-style: none;
	margin: 0;
	padding: 0;
}

.account-bigfoots__ledger-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid #ececec;
}

.account-bigfoots__ledger-item:first-child {
	border-top: none;
	padding-top: 0;
}

.account-bigfoots__ledger-reason {
	display: block;
	font-size: 14px;
	font-weight: var(--font-weight-medium);
	color: var(--color-black);
}

.account-bigfoots__ledger-order {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.4;
	color: #555;
}

.account-bigfoots__ledger-order a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.account-bigfoots__ledger-order a:hover {
	opacity: 0.7;
}

.account-bigfoots__ledger-date {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #888;
}

.account-bigfoots__ledger-delta {
	font-size: 15px;
	font-weight: var(--font-weight-bold);
	white-space: nowrap;
}

.account-bigfoots__ledger-delta--plus {
	color: var(--color-black);
}

.account-bigfoots__ledger-delta--minus {
	color: #666;
}

.account-orders {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.account-order {
	border: 1px solid #e5e5e5;
	background: var(--color-white);
	padding: 20px 22px;
}

.account-order__main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.account-order__number {
	display: block;
	margin-bottom: 4px;
	font-size: 15px;
	font-weight: var(--font-weight-bold);
	color: var(--color-black);
	text-decoration: none;
}

.account-order__number:hover {
	opacity: 0.65;
	color: var(--color-black);
}

.account-order__date {
	font-size: 13px;
	color: #777;
}

.account-order__status {
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #666;
	white-space: nowrap;
}

.account-order__products {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 16px;
}

.account-order__product {
	display: flex;
	align-items: center;
	gap: 10px;
	width: calc(50% - 5px);
	min-width: 0;
	padding: 8px;
	border: 1px solid #ececec;
	background: #fafafa;
}

.account-order__product-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	background: var(--color-white);
	overflow: hidden;
}

.account-order__product-media img,
.account-order__product-img {
	display: block;
	max-width: 90%;
	max-height: 90%;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
	margin: 0 !important;
}

.account-order__product-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #eee;
}

.account-order__product-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.account-order__product-name {
	font-size: 12px;
	font-weight: var(--font-weight-bold);
	line-height: 1.3;
	color: var(--color-black);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.account-order__product-qty {
	font-size: 11px;
	font-weight: var(--font-weight-book);
	color: #777;
}

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

.account-order__total {
	margin: 0;
	font-size: 14px;
	font-weight: var(--font-weight-book);
	color: var(--color-black);
}

.account-order__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.account-order__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	font-size: 10px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.08em;
	text-decoration: none;
}

.account-orders__pagination {
	display: flex;
	justify-content: flex-start;
	gap: 12px;
	margin-top: 28px;
}

.account-orders__page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid #d9d9d9;
	color: var(--color-black);
	font-size: 12px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none !important;
}

.account-orders__page-link:hover,
.account-orders__page-link:focus {
	border-color: var(--color-black);
	text-decoration: none !important;
}

.account-orders-empty {
	padding: 56px 24px;
	border: 1px solid #e5e5e5;
	text-align: left;
}

.account-orders-empty__text {
	margin: 0 0 24px;
	font-size: 15px;
	color: #666;
}

.account-orders-empty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 28px;
	font-size: 12px;
	font-weight: var(--font-weight-bold);
	text-decoration: none;
}

/* Order tracking block (view-order) */
.bigmood-tracking {
	margin: 28px 0 0;
	padding: 22px 24px;
	border: 1px solid #e5e5e5;
	background: var(--color-white);
}

.bigmood-tracking__eyebrow {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #888;
}

.bigmood-tracking__carrier {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0 0 18px;
}

.bigmood-tracking__label {
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #888;
}

.bigmood-tracking__value {
	font-size: 15px;
	font-weight: var(--font-weight-medium);
	color: var(--color-black);
}

.bigmood-tracking__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	text-decoration: none;
}

/* ==========================================================================
   VIEW ORDER — order details page
   ========================================================================== */

body.bigmood-account-dashboard.woocommerce-view-order .account-dashboard__header {
	display: none;
}

.account-order-view {
	font-family: var(--font-primary);
	-webkit-font-smoothing: antialiased;
	color: var(--color-black);
}

.account-order-view__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 28px;
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: #666;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.account-order-view__back:hover,
.account-order-view__back:focus {
	color: var(--color-black);
	text-decoration: none !important;
}

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

.account-order-view__eyebrow {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #888;
}

.account-order-view__title {
	margin: 0 0 10px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: var(--font-weight-bold);
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--color-black);
}

.account-order-view__status {
	margin: 0;
	font-size: 12px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #666;
}

.account-order-view__meta {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid #e5e5e5;
	background: #e5e5e5;
}

.account-order-view__meta-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 18px 20px;
	background: var(--color-white);
}

.account-order-view__meta-label {
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #888;
}

.account-order-view__meta-value {
	font-size: 15px;
	font-weight: var(--font-weight-bold);
	line-height: 1.35;
	color: var(--color-black);
}

.account-order-view .bigmood-tracking {
	margin: 0 0 32px;
}

.account-order-view__section-title {
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-black);
}

.account-order-view__notes {
	margin: 0 0 36px;
	padding: 22px 24px;
	border: 1px solid #e5e5e5;
}

.account-order-view__notes-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.account-order-view__note-date {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	color: #888;
}

.account-order-view__note-text {
	font-size: 14px;
	line-height: 1.55;
	color: #444;
}

.account-order-view__note-text p {
	margin: 0 0 8px;
}

.account-order-view__note-text p:last-child {
	margin-bottom: 0;
}

.account-order-view__details {
	margin-bottom: 40px;
}

.account-order-view__items {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.account-order-view__item {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: start;
	padding: 0;
	border: none;
	background: transparent;
}

.account-order-view__item-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	background: #ececec;
	overflow: hidden;
}

.account-order-view__item-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0 !important;
}

.account-order-view__item-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #eee;
}

.account-order-view__item-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.account-order-view__item-name {
	margin: 0;
	font-size: 14px;
	font-weight: var(--font-weight-medium);
	line-height: 1.35;
	color: var(--color-black);
}

.account-order-view__item-name a {
	color: inherit;
	text-decoration: none;
}

.account-order-view__item-name a:hover {
	opacity: 0.65;
}

.account-order-view__item-qty {
	margin: 0;
	font-size: 13px;
	font-weight: var(--font-weight-book);
	line-height: 1.35;
	color: #777;
}

.account-order-view__item-note {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
	color: #555;
}

.account-order-view__item-meta {
	margin-top: 2px;
	font-size: 12px;
	line-height: 1.4;
	color: #777;
}

.account-order-view__item-total {
	font-size: 14px;
	font-weight: var(--font-weight-book);
	white-space: nowrap;
	color: var(--color-black);
}

.account-order-view__purchase-note {
	padding: 12px 14px;
	background: #f7f7f7;
	font-size: 13px;
	color: #555;
}

.account-order-view__summary {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 28px;
}

.account-order-view__summary-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	font-size: 14px;
	line-height: 1.4;
	color: #555;
}

.account-order-view__summary-row--total {
	font-size: 16px;
	font-weight: var(--font-weight-bold);
	color: var(--color-black);
}

.account-order-view__summary-value {
	text-align: right;
	color: var(--color-black);
}

.account-order-view__delivery {
	margin-bottom: 24px;
}

.account-order-view__delivery-title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-black);
}

.account-order-view__delivery-address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.55;
	color: #444;
}

.account-order-view__totals {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 4px;
}

.account-order-view__totals-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 14px;
	color: #555;
}

.account-order-view__totals-row--total {
	font-size: 16px;
	font-weight: var(--font-weight-bold);
	color: var(--color-black);
}

.account-order-view__customer-note {
	margin-top: 12px;
}

.account-order-view__customer-note p {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: #444;
}

.account-order-view__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.account-order-view__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	text-decoration: none;
}

.account-order-view__addresses {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.account-order-view__addresses-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}

.account-order-view__addresses-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-order-view__address address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.65;
	color: #444;
}

.account-order-view__address-line {
	margin: 8px 0 0;
}

/* Hide default WC table leftovers if plugins inject them */
.account-order-view .woocommerce-table--order-details,
.account-order-view .shop_table.order_details {
	display: none !important;
}

@media (max-width: 640px) {
	.account-order-view__meta,
	.account-order-view__addresses-grid--two {
		grid-template-columns: 1fr;
	}

	.account-order-view__item {
		grid-template-columns: 56px minmax(0, 1fr);
		grid-template-rows: auto auto;
	}

	.account-order-view__item-total {
		grid-column: 2;
	}

	.account-order-view__actions {
		flex-direction: column;
	}

	.account-order-view__btn {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.account-dashboard__header {
		flex-direction: column;
	}

	.account-dashboard__logout {
		width: 100%;
	}

	.account-order__main,
	.account-order__footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.account-order__product {
		width: 100%;
	}

	.account-order__actions {
		width: 100%;
	}

	.account-order__action {
		flex: 1;
	}
}

.account-order__product {
	background: transparent;
}

.account-order__action--track {
	text-decoration: none !important;
	box-shadow: none !important;
}

.account-dashboard__logout-wrap {
	margin-top: 48px;
	padding-top: 0;
	border-top: none;
}

.account-dashboard__logout-wrap .account-dashboard__logout {
	display: inline-flex;
}
