/* ===================== ACCOUNT + AUTH + WISHLIST ===================== */

/* Layout: nav + content */
.woocommerce-account .woocommerce {
	max-width: var(--nps-container);
	margin: 28px auto 48px;
	padding: 0 var(--nps-gutter);
}

.nps-account {
	display: grid;
	grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	width: 100%;
}

/* Kill WooCommerce float/width that shrinks the sidebar inside our grid. */
.woocommerce-account .nps-account .woocommerce-MyAccount-navigation,
.woocommerce-account .nps-account .woocommerce-MyAccount-content {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.nps-account__content {
	min-width: 0;
	background: var(--nps-white);
	border: 1px solid var(--nps-border);
	border-radius: var(--nps-radius-lg);
	padding: 22px 24px 28px;
	box-shadow: var(--nps-shadow-sm);
}

/* Side nav */
.nps-account-nav {
	min-width: 0;
}

.nps-account-nav ul {
	list-style: none;
	margin: 0;
	padding: 8px;
	background: var(--nps-white);
	border: 1px solid var(--nps-border);
	border-radius: var(--nps-radius-lg);
	box-shadow: var(--nps-shadow-sm);
}

.nps-account-nav li {
	margin: 0;
}

.nps-account-nav li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	color: var(--nps-text-soft);
	font-size: var(--nps-fs-sm);
	line-height: 1.35;
	border-radius: var(--nps-radius);
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.nps-account-nav li a > span:last-child {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.nps-account-nav__icon {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--nps-text-muted);
}

.nps-account-nav li.is-active a,
.nps-account-nav li a:hover {
	background: rgba(225, 39, 41, 0.08);
	color: var(--nps-red);
}

.nps-account-nav li.is-active a .nps-account-nav__icon,
.nps-account-nav li a:hover .nps-account-nav__icon {
	color: var(--nps-red);
}

.nps-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--nps-text-muted);
	margin-top: 6px;
	border-top: 1px solid var(--nps-border);
	border-radius: 0 0 var(--nps-radius) var(--nps-radius);
}

/* ---------- Auth / login ---------- */
.woocommerce-account:not(.logged-in) .woocommerce,
.woocommerce-account:not(.logged-in) .nps-account {
	display: block;
}

.nps-auth {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
	gap: 40px;
	align-items: start;
	max-width: 960px;
	margin: 12px auto 40px;
	padding: 28px 0 8px;
}

.nps-auth__eyebrow {
	margin: 0 0 8px;
	font-size: var(--nps-fs-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nps-red);
	font-weight: var(--nps-font-weight-medium);
}

.nps-auth__title {
	margin: 0 0 12px;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	line-height: 1.2;
	font-weight: var(--nps-font-weight-semibold);
	color: var(--nps-text);
}

.nps-auth__title span {
	display: block;
	color: var(--nps-red);
}

.nps-auth__sub {
	margin: 0 0 22px;
	color: var(--nps-text-soft);
	font-size: var(--nps-fs-base);
	max-width: 36ch;
}

.nps-auth__perks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nps-auth__perks li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: var(--nps-fs-sm);
	color: var(--nps-text-soft);
}

.nps-auth__perks .nps-icon {
	color: var(--nps-orange);
	flex-shrink: 0;
}

.nps-auth__card {
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(225, 39, 41, 0.06), transparent 55%),
		var(--nps-white);
	border: 1px solid var(--nps-border);
	border-radius: calc(var(--nps-radius-lg) + 4px);
	padding: 22px 22px 20px;
	box-shadow: var(--nps-shadow-md, var(--nps-shadow-sm));
	min-width: 0;
	box-sizing: border-box;
}

.nps-login-tabs {
	display: flex;
	gap: 6px;
	margin-bottom: 18px;
	padding: 4px;
	background: var(--nps-bg-soft, #f6f6f6);
	border-radius: var(--nps-radius-pill);
}

.nps-login-tabs button {
	flex: 1;
	padding: 10px 12px;
	border: 0;
	background: transparent;
	border-radius: var(--nps-radius-pill);
	font-family: var(--nps-font);
	font-size: var(--nps-fs-sm);
	font-weight: var(--nps-font-weight-medium);
	color: var(--nps-text-soft);
	cursor: pointer;
}

.nps-login-tabs button.is-active {
	background: var(--nps-red);
	color: #fff;
	box-shadow: 0 4px 12px rgba(225, 39, 41, 0.25);
}

.nps-auth__forms {
	overflow-anchor: none;
}

.nps-auth__pane[hidden] {
	display: none !important;
}

.nps-auth__hint {
	margin: 0 0 14px;
	font-size: var(--nps-fs-sm);
	color: var(--nps-text-muted);
}

.nps-auth label {
	display: block;
	margin-bottom: 6px;
	font-size: var(--nps-fs-sm);
	font-weight: var(--nps-font-weight-medium);
	color: var(--nps-text);
}

.nps-auth .form-row {
	margin: 0 0 14px;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.nps-auth input[type="text"],
.nps-auth input[type="tel"],
.nps-auth input[type="email"],
.nps-auth input[type="password"],
.nps-auth .woocommerce-Input,
.woocommerce-account .nps-auth .form-row .input-text {
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--nps-border-strong);
	border-radius: var(--nps-radius);
	font-family: var(--nps-font);
	font-size: var(--nps-fs-base);
	line-height: 1.4;
	height: auto;
	background: #fff;
}

.nps-auth input:focus {
	outline: 2px solid rgba(225, 39, 41, 0.25);
	border-color: var(--nps-red);
}

.nps-auth__row-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.nps-auth__lost {
	font-size: var(--nps-fs-sm);
	color: var(--nps-red);
}

.nps-auth .nps-btn,
.nps-auth button.button,
.nps-auth .woocommerce-button {
	width: 100%;
	background: var(--nps-red) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: var(--nps-radius-pill) !important;
	padding: 12px 20px !important;
	font-size: var(--nps-fs-sm) !important;
	font-weight: var(--nps-font-weight-medium) !important;
	cursor: pointer;
}

.nps-otp-msg {
	min-height: 1.25em;
	margin: 8px 0 0;
	font-size: var(--nps-fs-sm);
	color: var(--nps-text-soft);
}

.nps-otp-msg.is-error {
	color: var(--nps-red);
}

.nps-otp-msg.is-ok {
	color: var(--nps-green, #1a7f3c);
}

.nps-auth__register {
	margin-top: 18px;
	border-top: 1px solid var(--nps-border);
	padding-top: 14px;
}

.nps-auth__register summary {
	cursor: pointer;
	font-size: var(--nps-fs-sm);
	font-weight: var(--nps-font-weight-medium);
	color: var(--nps-text);
	list-style: none;
}

.nps-auth__register summary::-webkit-details-marker {
	display: none;
}

.nps-auth__register[open] summary {
	margin-bottom: 14px;
	color: var(--nps-red);
}

/* ---------- Dashboard ---------- */
.nps-dash__hero {
	margin-bottom: 22px;
}

.nps-dash__eyebrow {
	margin: 0 0 4px;
	font-size: var(--nps-fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nps-orange);
	font-weight: var(--nps-font-weight-medium);
}

.nps-dash__hello {
	margin: 0 0 6px;
	font-size: clamp(1.4rem, 2.4vw, 1.85rem);
	font-weight: var(--nps-font-weight-semibold);
}

.nps-dash__sub {
	margin: 0;
	font-size: var(--nps-fs-sm);
	color: var(--nps-text-soft);
}

.nps-dash__sub a {
	color: var(--nps-red);
	margin-left: 6px;
}

.nps-dash__tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 28px;
}

.nps-dash__tile {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	background: linear-gradient(160deg, #fff 0%, var(--nps-bg-soft, #faf7f5) 100%);
	border: 1px solid var(--nps-border);
	border-radius: var(--nps-radius-lg);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.nps-dash__tile:hover {
	border-color: rgba(225, 39, 41, 0.35);
	transform: translateY(-1px);
}

.nps-dash__tile-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(225, 39, 41, 0.08);
	color: var(--nps-red);
}

.nps-dash__tile-label {
	font-size: var(--nps-fs-sm);
	font-weight: var(--nps-font-weight-medium);
	color: var(--nps-text);
}

.nps-dash__tile-meta {
	font-size: var(--nps-fs-xs);
	color: var(--nps-text-muted);
	font-weight: var(--nps-font-weight-medium);
}

.nps-dash__orders-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.nps-dash__orders-head h2 {
	margin: 0;
	font-size: var(--nps-fs-lg, 1.15rem);
	font-weight: var(--nps-font-weight-semibold);
}

.nps-dash__orders-head a {
	font-size: var(--nps-fs-sm);
	color: var(--nps-red);
}

.nps-dash__order-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--nps-border);
	border-radius: var(--nps-radius-lg);
	overflow: hidden;
}

.nps-dash__order-list li {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 12px;
	align-items: center;
	padding: 14px 16px;
	border-bottom: 1px solid var(--nps-border);
	font-size: var(--nps-fs-sm);
}

.nps-dash__order-list li:last-child {
	border-bottom: 0;
}

.nps-dash__order-list a {
	color: var(--nps-text);
	font-weight: var(--nps-font-weight-medium);
	text-decoration: none;
}

.nps-dash__order-date {
	display: block;
	margin-top: 2px;
	font-size: var(--nps-fs-xs);
	color: var(--nps-text-muted);
	font-weight: 400;
}

.nps-dash__order-status {
	font-size: var(--nps-fs-xs);
	padding: 4px 10px;
	border-radius: var(--nps-radius-pill);
	background: var(--nps-bg-soft, #f6f6f6);
	color: var(--nps-text-soft);
	text-transform: capitalize;
}

.nps-dash__order-total {
	font-weight: var(--nps-font-weight-medium);
	white-space: nowrap;
}

.nps-dash__empty-orders {
	text-align: center;
	padding: 28px 16px;
	border: 1px dashed var(--nps-border-strong);
	border-radius: var(--nps-radius-lg);
}

.nps-dash__empty-orders p {
	margin: 0 0 14px;
	color: var(--nps-text-soft);
}

/* ---------- Wishlist ---------- */
.nps-wish-gate {
	display: flex;
	justify-content: center;
	padding: 48px var(--nps-gutter) 64px;
}

.nps-wish-gate__card {
	max-width: 420px;
	text-align: center;
	padding: 36px 28px;
	background:
		radial-gradient(90% 70% at 50% 0%, rgba(225, 39, 41, 0.08), transparent 60%),
		var(--nps-white);
	border: 1px solid var(--nps-border);
	border-radius: calc(var(--nps-radius-lg) + 4px);
	box-shadow: var(--nps-shadow-sm);
}

.nps-wish-gate__icon {
	display: inline-flex;
	color: var(--nps-red);
	margin-bottom: 12px;
}

.nps-wish-gate__title {
	margin: 0 0 10px;
	font-size: 1.45rem;
	font-weight: var(--nps-font-weight-semibold);
}

.nps-wish-gate__sub {
	margin: 0 0 20px;
	font-size: var(--nps-fs-sm);
	color: var(--nps-text-soft);
}

.nps-wishlist__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}

.nps-wishlist__eyebrow {
	margin: 0 0 4px;
	font-size: var(--nps-fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nps-orange);
	font-weight: var(--nps-font-weight-medium);
}

.nps-wishlist__title {
	margin: 0;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: var(--nps-font-weight-semibold);
}

.nps-wishlist__count {
	font-size: var(--nps-fs-sm);
	color: var(--nps-text-muted);
}

.nps-wishlist__empty {
	text-align: center;
	padding: 40px 20px;
	border: 1px dashed var(--nps-border-strong);
	border-radius: var(--nps-radius-lg);
}

.nps-wishlist__empty-icon {
	display: inline-flex;
	color: var(--nps-text-muted);
	margin-bottom: 10px;
}

.nps-wishlist__empty p {
	margin: 0 0 16px;
	color: var(--nps-text-soft);
}

.nps-wishlist__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nps-wishlist__item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 14px;
	background: var(--nps-white);
	border: 1px solid var(--nps-border);
	border-radius: var(--nps-radius-lg);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.nps-wishlist__item.is-removing {
	opacity: 0;
	transform: translateX(12px);
}

.nps-wishlist__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: var(--nps-radius);
	background: var(--nps-bg-soft, #faf7f5);
	overflow: hidden;
}

.nps-wishlist__thumb img,
.nps-wishlist__img {
	max-width: 100%;
	max-height: 88px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.nps-wishlist__name {
	display: block;
	margin-bottom: 6px;
	font-size: var(--nps-fs-sm);
	font-weight: var(--nps-font-weight-medium);
	color: var(--nps-text);
	text-decoration: none;
	line-height: 1.35;
}

.nps-wishlist__name:hover {
	color: var(--nps-red);
}

.nps-wishlist__price {
	margin-bottom: 12px;
	font-size: var(--nps-fs-sm);
}

.nps-wishlist__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.nps-wishlist__atc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px !important;
	font-size: var(--nps-fs-xs) !important;
	border-radius: var(--nps-radius-pill) !important;
	background: var(--nps-red) !important;
	color: #fff !important;
	text-decoration: none;
	border: 0;
	cursor: pointer;
}

.nps-wishlist__remove {
	background: transparent;
	border: 0;
	padding: 8px 4px;
	font-family: var(--nps-font);
	font-size: var(--nps-fs-xs);
	color: var(--nps-text-muted);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.nps-wishlist__remove:hover {
	color: var(--nps-red);
}

.nps-wishlist__oos {
	font-size: var(--nps-fs-xs);
	color: var(--nps-text-muted);
}

/* Page (not inside account card) */
.page .nps-wishlist,
.page .nps-wish-gate {
	max-width: var(--nps-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--nps-gutter);
	padding-right: var(--nps-gutter);
}

.page .nps-wishlist {
	padding-top: 28px;
	padding-bottom: 48px;
}

/* Notifications */
.nps-notifications {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nps-notification {
	display: flex;
	gap: 12px;
	background: var(--nps-white);
	border: 1px solid var(--nps-border);
	border-left: 4px solid var(--nps-orange);
	border-radius: var(--nps-radius);
	padding: 14px 16px;
}

.nps-notification.is-unread {
	background: var(--nps-bg-soft);
	border-left-color: var(--nps-red);
}

.nps-notification--order {
	border-left-color: var(--nps-green, #1a7f3c);
}

.nps-notification__icon {
	color: var(--nps-red);
	flex-shrink: 0;
}

.nps-notification__meta {
	font-size: var(--nps-fs-xs);
	color: var(--nps-text-muted);
}

.nps-notification__title {
	font-weight: var(--nps-font-weight-medium);
	font-size: var(--nps-fs-sm);
	margin-bottom: 4px;
}

.nps-empty {
	color: var(--nps-text-soft);
	font-size: var(--nps-fs-sm);
}

.nps-order-note {
	background: var(--nps-bg-soft);
	border-left: 4px solid var(--nps-orange);
	padding: 12px 14px;
	border-radius: var(--nps-radius);
	font-size: var(--nps-fs-sm);
	margin: 12px 0;
}

/* Woo orders table polish inside account */
.woocommerce-account .woocommerce-orders-table {
	border: 1px solid var(--nps-border);
	border-radius: var(--nps-radius-lg);
	overflow: hidden;
}

.woocommerce-account .woocommerce-Button.button,
.woocommerce-account a.button {
	background: var(--nps-red) !important;
	color: #fff !important;
	border-radius: var(--nps-radius-pill) !important;
	border: 0 !important;
	padding: 8px 16px !important;
	font-size: var(--nps-fs-xs) !important;
}

/* ---------- Addresses ---------- */
.nps-addresses__head {
	margin-bottom: 20px;
}

.nps-addresses__eyebrow {
	margin: 0 0 4px;
	font-size: var(--nps-fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nps-orange);
	font-weight: var(--nps-font-weight-medium);
}

.nps-addresses__title {
	margin: 0 0 6px;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: var(--nps-font-weight-semibold);
	color: var(--nps-heading);
}

.nps-addresses__sub {
	margin: 0;
	font-size: var(--nps-fs-sm);
	color: var(--nps-text-soft);
}

.nps-addresses__sub a {
	color: var(--nps-red);
	text-decoration: none;
}

.nps-addresses__sub a:hover {
	text-decoration: underline;
}

.nps-addresses__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.nps-addresses__grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.nps-addresses__grid--two {
		grid-template-columns: 1fr;
	}
}

/* Kill default WC float columns on address list */
.woocommerce-account .woocommerce-Addresses.col2-set,
.woocommerce-account .woocommerce-Addresses .col-1,
.woocommerce-account .woocommerce-Addresses .col-2,
.woocommerce-account .u-columns.woocommerce-Addresses {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.nps-address-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 18px 18px 16px;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(225, 39, 41, 0.05), transparent 55%),
		var(--nps-white);
	border: 1px solid var(--nps-border);
	border-radius: calc(var(--nps-radius-lg) + 2px);
	box-shadow: var(--nps-shadow-sm);
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.nps-address-card:hover {
	border-color: rgba(225, 39, 41, 0.28);
	transform: translateY(-1px);
}

.nps-address-card__head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
}

.nps-address-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(225, 39, 41, 0.08);
	color: var(--nps-red);
	flex: 0 0 auto;
}

.nps-address-card__titles {
	min-width: 0;
	flex: 1 1 auto;
}

.nps-address-card__title {
	margin: 0 0 4px;
	font-size: var(--nps-fs-md);
	font-weight: var(--nps-font-weight-semibold);
	line-height: 1.25;
}

.nps-address-card__tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: var(--nps-radius-pill);
	background: var(--nps-bg-soft);
	color: var(--nps-text-muted);
	font-size: var(--nps-fs-xxs);
	font-weight: var(--nps-font-weight-medium);
}

.nps-address-card__body {
	flex: 1 1 auto;
	margin-bottom: 16px;
}

.nps-address-card__text {
	margin: 0;
	font-style: normal;
	font-size: var(--nps-fs-sm);
	line-height: 1.55;
	color: var(--nps-text);
}

.nps-address-card__empty {
	margin: 0;
	font-size: var(--nps-fs-sm);
	color: var(--nps-text-muted);
}

.nps-address-card__foot {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--nps-border);
}

.nps-address-card__edit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 9px 16px !important;
	font-size: var(--nps-fs-xs) !important;
	text-decoration: none !important;
}

.nps-address-edit__form {
	max-width: 560px;
}

.nps-address-edit__fields .form-row {
	margin: 0 0 12px;
}

.nps-address-edit__fields .form-row label {
	display: block;
	margin-bottom: 4px;
	font-size: var(--nps-fs-xs);
	font-weight: var(--nps-font-weight-medium);
	color: var(--nps-text-soft);
}

.nps-address-edit__fields .input-text,
.nps-address-edit__fields select,
.nps-address-edit__fields .select2-selection__rendered {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--nps-border-strong);
	border-radius: var(--nps-radius);
	font-family: var(--nps-font);
	font-size: var(--nps-fs-xs);
	background: #fff;
}

.nps-address-edit__fields .form-row-first,
.nps-address-edit__fields .form-row-last {
	width: 100%;
	float: none;
}

.nps-address-edit__actions {
	margin: 18px 0 0;
}

.nps-address-edit__actions .button {
	width: auto;
	min-width: 160px;
}

@media (max-width: 900px) {
	.nps-auth {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.nps-auth__intro {
		text-align: center;
	}

	.nps-auth__sub {
		max-width: none;
		margin-left: auto;
		margin-right: auto;
	}

	.nps-auth__perks {
		align-items: center;
	}

	.nps-dash__tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.nps-account {
		grid-template-columns: 1fr;
	}

	.nps-account-nav ul {
		display: flex;
		overflow-x: auto;
		gap: 4px;
		padding: 8px;
		-webkit-overflow-scrolling: touch;
	}

	.nps-account-nav li {
		flex: 0 0 auto;
	}

	.nps-account-nav li a {
		white-space: nowrap;
		padding: 10px 12px;
	}

	.nps-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a {
		border-top: 0;
		margin-top: 0;
	}

	.nps-dash__order-list li {
		grid-template-columns: 1fr auto;
	}

	.nps-dash__order-total {
		grid-column: 2;
		grid-row: 1;
	}

	.nps-addresses__grid--two {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.nps-dash__tiles {
		grid-template-columns: 1fr;
	}

	.nps-wishlist__item {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 12px;
	}

	.nps-wishlist__thumb {
		width: 72px;
		height: 72px;
	}
}

/* ---------- Printable order sheet ---------- */
.nps-order-sheet__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.nps-order-sheet__shop {
	margin: 0 0 2px;
	font-size: var(--nps-fs-xxs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nps-orange);
	font-weight: var(--nps-font-weight-medium);
}

.nps-order-sheet__title {
	margin: 0 0 4px;
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	font-weight: var(--nps-font-weight-semibold);
	color: var(--nps-heading);
}

.nps-order-sheet__meta {
	margin: 0;
	font-size: var(--nps-fs-xs);
	color: var(--nps-text-soft);
}

.nps-order-print {
	flex: 0 0 auto;
	border: 1px solid var(--nps-border);
	background: var(--nps-white);
	color: var(--nps-heading);
	border-radius: var(--nps-radius-pill);
	padding: 8px 16px;
	font: inherit;
	font-size: var(--nps-fs-xs);
	font-weight: var(--nps-font-weight-medium);
	cursor: pointer;
}

.nps-order-print:hover {
	border-color: var(--nps-red);
	color: var(--nps-red);
}

.nps-order-sheet__items,
.nps-order-sheet__totals {
	width: 100%;
	border: 1px solid var(--nps-border);
	border-radius: var(--nps-radius-lg);
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	overflow: hidden;
	margin: 0 0 12px;
}

.nps-order-sheet__items th,
.nps-order-sheet__items td,
.nps-order-sheet__totals th,
.nps-order-sheet__totals td {
	padding: 10px 12px;
	font-size: var(--nps-fs-xs);
	border-top: 1px solid var(--nps-border);
	vertical-align: middle;
	text-align: left;
}

.nps-order-sheet__items thead th {
	border-top: 0;
	background: var(--nps-bg-soft);
	font-weight: var(--nps-font-weight-medium);
}

.nps-order-sheet__items .product-total,
.nps-order-sheet__totals td {
	text-align: right;
	white-space: nowrap;
}

.nps-order-sheet__totals tr:first-child th,
.nps-order-sheet__totals tr:first-child td {
	border-top: 0;
}

.nps-order-sheet__totals .order_total th,
.nps-order-sheet__totals .order_total td,
.nps-order-sheet__totals .order-total th,
.nps-order-sheet__totals .order-total td {
	font-size: var(--nps-fs-sm);
	font-weight: var(--nps-font-weight-bold);
	color: var(--nps-heading);
}

.nps-order-sheet__totals .nps-order-loyalty td {
	color: var(--nps-green-dark);
	font-weight: var(--nps-font-weight-medium);
}

.nps-order-sheet__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.nps-order-sheet .woocommerce-customer-details,
.woocommerce-account .woocommerce-customer-details {
	margin-top: 18px;
}

@media print {
	@page {
		margin: 14mm;
	}

	.nps-ticker,
	.nps-header,
	.nps-footer,
	.nps-account-nav,
	.woocommerce-MyAccount-navigation,
	.nps-order-print,
	.nps-order-sheet__actions,
	#wpadminbar {
		display: none !important;
	}

	.nps-account,
	.woocommerce-account .woocommerce,
	.nps-account__content {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		box-shadow: none !important;
		background: #fff !important;
	}

	body,
	.nps-site {
		background: #fff !important;
	}

	.nps-review-item__name a {
		color: inherit;
		text-decoration: none;
	}
}
