/* ==========================================================================
   ANDP FilmStyles — My Account Styles
   Scoped entirely to body.woocommerce-account — cannot bleed into other pages
   ========================================================================== */

/* ── Page wrapper ── */
body.woocommerce-account .andp-account {
	min-height: 100vh;
	background: var(--andp-bg);
	width: 100%;
}

/* Ensure Blocksy's page content wrapper doesn't constrain account width */
body.woocommerce-account .andp-page__content,
body.woocommerce-account .entry-content,
body.woocommerce-account .ct-inner-content {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* ── Suppress any Blocksy/WC injected page headers ── */
body.woocommerce-account .entry-header,
body.woocommerce-account .entry-title,
body.woocommerce-account h1.entry-title,
body.woocommerce-account .page-title,
body.woocommerce-account .ct-breadcrumbs,
body.woocommerce-account .ct-post-header,
body.woocommerce-account .ct-single-post-header,
body.woocommerce-account .ct-blog-meta,
body.woocommerce-account .ct-page-header,
body.woocommerce-account .ct-page-title,
body.woocommerce-account .ct-content-area > h1,
body.woocommerce-account .ct-container > h1:first-child,
body.woocommerce-account .ct-container > h2:first-child,
body.woocommerce-account .site-content > h1,
body.woocommerce-account article > header,
body.woocommerce-account .woocommerce-page-title,
body.woocommerce-account [class*="ct-page-title"],
body.woocommerce-account [class*="ct-breadcrumb"],
body.woocommerce-account [class*="ct-meta"],
body.woocommerce-account .woocommerce > h2:first-child,
body.woocommerce-account .andp-post__header,
body.woocommerce-account .andp-post__title,
body.woocommerce-account .andp-post__breadcrumb,
body.woocommerce-account .andp-post__meta,
body.woocommerce-account .andp-post__body {
	display: none !important;
}

/* ── Header wrap ── */
body.woocommerce-account .andp-account__header-wrap {
	border-bottom: 1px solid #1a1a1a;
	padding-top: var(--andp-nav-height);
}

body.woocommerce-account .andp-account__header {
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 24px 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
}

/* ── Identity ── */
body.woocommerce-account .andp-account__identity {
	display: flex;
	flex-direction: column;
}

body.woocommerce-account .andp-account__id-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

body.woocommerce-account .andp-account__icon-wrap {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #1e1e1e;
	border: 1px solid #2a2a2a;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

body.woocommerce-account .andp-account__name {
	font-size: 14px;
	font-weight: 500;
	color: var(--andp-white);
	margin: 0 0 1px;
	line-height: 1.2;
}

body.woocommerce-account .andp-account__email {
	font-family: var(--andp-font-mono);
	font-size: 10px;
	color: #444;
	margin: 0;
}

body.woocommerce-account .andp-account__title-block {
	margin-top: 16px;
}

body.woocommerce-account .andp-account__section-eyebrow {
	font-family: var(--andp-font-mono);
	font-size: 9px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--andp-gold);
	margin: 0 0 4px;
}

body.woocommerce-account .andp-account__page-title {
	font-size: 30px;
	font-weight: 300;
	color: var(--andp-white);
	letter-spacing: -0.02em;
	margin: 0;
	line-height: 1.15;
}

/* ── Stats ── */
body.woocommerce-account .andp-account__stats {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	flex-shrink: 0;
}

body.woocommerce-account .andp-account__stat {
	text-align: right;
}

body.woocommerce-account .andp-account__stat-value {
	font-family: var(--andp-font-mono);
	font-size: 20px;
	color: var(--andp-white);
	margin: 0 0 4px;
	line-height: 1;
	display: block;
}

body.woocommerce-account .andp-account__stat-label {
	font-family: var(--andp-font-mono);
	font-size: 9px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #444;
	margin: 0;
	display: block;
}

/* ── Tab bar ── */
body.woocommerce-account .andp-account__tabs {
	max-width: 1280px;
	margin: 32px auto 0;
	padding: 0 24px;
	display: flex;
	gap: 0;
}

body.woocommerce-account .andp-account__tab {
	display: block;
	padding: 12px 20px;
	font-family: var(--andp-font-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #444;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: color 200ms ease, border-color 200ms ease;
	white-space: nowrap;
}

body.woocommerce-account .andp-account__tab:hover {
	color: #888;
}

body.woocommerce-account .andp-account__tab.is-active {
	color: var(--andp-gold);
	border-bottom-color: var(--andp-gold);
}

/* ── Panel ── */
body.woocommerce-account .andp-account__panel {
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 24px 80px;
}

/* ── WC notices ── */
body.woocommerce-account .andp-account__panel .woocommerce-message,
body.woocommerce-account .andp-account__panel .woocommerce-error,
body.woocommerce-account .andp-account__panel .woocommerce-info {
	list-style: none;
	background: #111;
	border: 1px solid #1e1e1e;
	border-left: 3px solid var(--andp-gold);
	padding: 12px 16px;
	margin-bottom: 24px;
	font-size: 12px;
	color: var(--andp-text-mid);
}
body.woocommerce-account .andp-account__panel .woocommerce-error {
	border-left-color: #ef9a9a;
}
body.woocommerce-account .andp-account__panel .woocommerce-message::before,
body.woocommerce-account .andp-account__panel .woocommerce-error::before,
body.woocommerce-account .andp-account__panel .woocommerce-info::before {
	display: none;
}

/* ── Shared buttons ── */
body.woocommerce-account .andp-account-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-family: var(--andp-font-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 10px 20px;
	text-decoration: none;
	cursor: pointer;
	transition: all 200ms ease;
	border: none;
	background: none;
}

body.woocommerce-account .andp-account-btn--gold {
	background: var(--andp-gold);
	color: #000;
}
body.woocommerce-account .andp-account-btn--gold:hover {
	background: #d4a040;
	color: #000;
}
body.woocommerce-account .andp-account-btn--ghost {
	border: 1px solid #1e1e1e;
	color: #444;
}
body.woocommerce-account .andp-account-btn--ghost:hover {
	border-color: var(--andp-gold);
	color: var(--andp-gold);
}

/* ==========================================================================
   FILM LIBRARY
   ========================================================================== */

body.woocommerce-account .andp-library__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

body.woocommerce-account .andp-library__count {
	font-family: var(--andp-font-mono);
	font-size: 11px;
	color: #444;
	margin: 0;
}

body.woocommerce-account .andp-library__dl-all {
	font-family: var(--andp-font-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #444;
	text-decoration: none;
	border: 1px solid #1e1e1e;
	padding: 6px 12px;
	transition: color 200ms ease, border-color 200ms ease;
}
body.woocommerce-account .andp-library__dl-all:hover {
	color: var(--andp-gold);
	border-color: var(--andp-gold);
}

body.woocommerce-account .andp-library__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* Library card */
body.woocommerce-account .andp-library-card {
	background: #111;
	border: 1px solid #1e1e1e;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: border-color 300ms ease;
	overflow: hidden;
}
body.woocommerce-account .andp-library-card:hover {
	border-color: #2a2a2a;
}

body.woocommerce-account .andp-library-card__img-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #0a0a0a;
}

body.woocommerce-account .andp-library-card__img--film {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: sepia(0.2) saturate(1.4) contrast(0.93) brightness(0.88);
	transition: filter 300ms ease;
}
body.woocommerce-account .andp-library-card:hover .andp-library-card__img--film {
	filter: sepia(0.1) saturate(1.5) contrast(0.95) brightness(0.92);
}

body.woocommerce-account .andp-library-card__img--dimmed {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.4;
}

body.woocommerce-account .andp-library-card__version-badges {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
	max-width: calc(100% - 24px);
	pointer-events: none;
}

body.woocommerce-account .andp-library-card__version-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	background: rgba(0,0,0,0.8);
	backdrop-filter: blur(4px);
	color: var(--andp-gold);
	font-family: var(--andp-font-mono);
	font-size: 9px;
	padding: 2px 8px;
	border: 1px solid rgba(201,146,42,0.3);
	line-height: 1.4;
}
body.woocommerce-account .andp-library-card__version-platform {
	color: #777;
	border-right: 1px solid rgba(201,146,42,0.3);
	padding-right: 6px;
}

body.woocommerce-account .andp-img-credit {
	font-family: var(--andp-font-mono);
	font-size: 9px;
	color: var(--andp-text-dim);
	letter-spacing: 0.04em;
	margin: 0;
	padding: 5px 16px 0;
	line-height: 1.5;
}
body.woocommerce-account .andp-img-credit a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.woocommerce-account .andp-library-card__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 0;
	flex: 1;
}

body.woocommerce-account .andp-library-card__title {
	font-size: 14px;
	font-weight: 400;
	color: var(--andp-white);
	letter-spacing: 0.02em;
	margin: 0 0 8px;
	line-height: 1.3;
}

body.woocommerce-account .andp-library-card__date-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 12px;
}
body.woocommerce-account .andp-library-card__date {
	font-family: var(--andp-font-mono);
	font-size: 10px;
	color: #444;
}

body.woocommerce-account .andp-library-card__formats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 16px;
}
body.woocommerce-account .andp-library-card__fmt-badge {
	font-family: var(--andp-font-mono);
	font-size: 9px;
	color: #666;
	border: 1px solid #222;
	padding: 2px 6px;
	line-height: 1.4;
}

body.woocommerce-account .andp-library-card__downloads {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.woocommerce-account .andp-library-card__dl-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 38px;
	padding: 10px;
	font-family: var(--andp-font-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	line-height: 1.35;
	text-align: center;
	text-transform: uppercase;
	color: var(--andp-gold);
	border: 1px solid var(--andp-gold);
	text-decoration: none;
	transition: background 200ms ease, color 200ms ease;
	cursor: pointer;
	background: transparent;
}
body.woocommerce-account .andp-library-card__downloads--multi .andp-library-card__dl-btn {
	padding: 9px 10px;
}
body.woocommerce-account .andp-library-card__dl-btn:hover {
	background: var(--andp-gold);
	color: #000;
}
body.woocommerce-account .andp-library-card__dl-btn.is-downloaded {
	background: rgba(20,83,45,0.2);
	border-color: rgb(21,128,61);
	color: rgb(74,222,128);
}
body.woocommerce-account .andp-library-card__dl-btn.is-downloaded:hover {
	background: rgba(20,83,45,0.3);
	color: rgb(74,222,128);
}
body.woocommerce-account .andp-library-card__dl-text {
	min-width: 0;
	overflow-wrap: anywhere;
}
body.woocommerce-account .andp-library-card__dl-text--done { display: none; }
body.woocommerce-account .andp-library-card__dl-btn.is-downloaded .andp-library-card__dl-text { display: none; }
body.woocommerce-account .andp-library-card__dl-btn.is-downloaded .andp-library-card__dl-text--done {
	display: flex;
	align-items: center;
	gap: 6px;
}

body.woocommerce-account .andp-library-card__dl-count {
	font-family: var(--andp-font-mono);
	font-size: 9px;
	color: #333;
	text-align: center;
	margin: 8px 0 0;
}

/* Discover more card */
body.woocommerce-account .andp-library-card--discover {
	border: 1px dashed #222;
	background: transparent;
	min-height: 280px;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 32px 20px;
	text-align: center;
	flex-direction: column;
	transition: border-color 300ms ease;
}
body.woocommerce-account .andp-library-card--discover:hover {
	border-color: rgba(201,146,42,0.3);
}
body.woocommerce-account .andp-library-card__discover-icon-wrap {
	width: 40px;
	height: 40px;
	border: 1px solid #1e1e1e;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 300ms ease;
}
body.woocommerce-account .andp-library-card--discover:hover .andp-library-card__discover-icon-wrap {
	border-color: rgba(201,146,42,0.3);
}
body.woocommerce-account .andp-library-card__discover-text {
	font-size: 12px;
	color: #333;
	margin: 0;
	transition: color 300ms ease;
}
body.woocommerce-account .andp-library-card--discover:hover .andp-library-card__discover-text {
	color: #666;
}
body.woocommerce-account .andp-library-card__discover-cta {
	display: flex;
	align-items: center;
	gap: 4px;
	font-family: var(--andp-font-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--andp-gold);
}

/* Empty states */
body.woocommerce-account .andp-library__empty,
body.woocommerce-account .andp-orders__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 80px 24px;
	gap: 14px;
	color: #444;
}
body.woocommerce-account .andp-library__empty-title,
body.woocommerce-account .andp-orders__empty-title {
	font-size: 18px;
	font-weight: 300;
	color: var(--andp-white);
	margin: 0;
}
body.woocommerce-account .andp-library__empty-desc,
body.woocommerce-account .andp-orders__empty-desc {
	font-size: 12px;
	color: var(--andp-text-muted);
	margin: 0;
	max-width: 300px;
}

/* ==========================================================================
   ORDER HISTORY
   ========================================================================== */

body.woocommerce-account .andp-orders__container {
	border: 1px solid #1a1a1a;
	overflow: hidden;
}

body.woocommerce-account .andp-orders__row {
	display: grid;
	grid-template-columns: 80px 1fr 110px 90px 100px;
	gap: 16px;
	padding: 0 20px;
	align-items: center;
}
body.woocommerce-account .andp-orders__row--head {
	padding-top: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #1a1a1a;
}
body.woocommerce-account .andp-orders__row--data {
	padding-top: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #111;
	transition: background 150ms ease;
}
body.woocommerce-account .andp-orders__row--data:last-child { border-bottom: none; }
body.woocommerce-account .andp-orders__row--data:hover { background: #111; }

body.woocommerce-account .andp-orders__cell--head {
	font-family: var(--andp-font-mono);
	font-size: 9px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #333;
}

body.woocommerce-account .andp-orders__order-link {
	font-family: var(--andp-font-mono);
	font-size: 10px;
	color: var(--andp-gold);
	text-decoration: none;
	transition: color 150ms ease;
}
body.woocommerce-account .andp-orders__order-link:hover { color: var(--andp-white); }

body.woocommerce-account .andp-orders__cell--product {
	font-size: 12px;
	color: #888;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
body.woocommerce-account .andp-orders__cell--date {
	font-family: var(--andp-font-mono);
	font-size: 10px;
	color: #444;
}
body.woocommerce-account .andp-orders__cell--amount {
	font-family: var(--andp-font-mono);
	font-size: 10px;
	color: var(--andp-white);
	text-align: right;
}
body.woocommerce-account .andp-orders__cell--right { text-align: right; }

body.woocommerce-account .andp-orders__status {
	display: inline-block;
	font-family: var(--andp-font-mono);
	font-size: 9px;
	padding: 2px 8px;
}
body.woocommerce-account .andp-orders__status--complete  { color: rgb(74,222,128);  background: rgba(20,83,45,0.3); }
body.woocommerce-account .andp-orders__status--processing{ color: var(--andp-gold); background: rgba(201,146,42,0.1); }
body.woocommerce-account .andp-orders__status--pending   { color: #666; background: rgba(255,255,255,0.03); }
body.woocommerce-account .andp-orders__status--on-hold   { color: #90caf9; background: rgba(144,202,249,0.1); }
body.woocommerce-account .andp-orders__status--cancelled,
body.woocommerce-account .andp-orders__status--failed    { color: #ef9a9a; background: rgba(239,154,154,0.1); }
body.woocommerce-account .andp-orders__status--refunded  { color: #666; background: rgba(255,255,255,0.03); }

body.woocommerce-account .andp-orders__pagination {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 20px;
}

/* ==========================================================================
   ACCOUNT TAB
   ========================================================================== */

body.woocommerce-account .andp-acct {
	max-width: 448px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

body.woocommerce-account .andp-acct__info-block {
	border: 1px solid #1a1a1a;
	padding: 24px;
}

body.woocommerce-account .andp-acct__info-heading {
	font-family: var(--andp-font-mono);
	font-size: 9px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--andp-gold);
	margin: 0 0 16px;
}

body.woocommerce-account .andp-acct__info-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #111;
}
body.woocommerce-account .andp-acct__info-row--last { border-bottom: none; }

body.woocommerce-account .andp-acct__info-label {
	font-family: var(--andp-font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #444;
}
body.woocommerce-account .andp-acct__info-value {
	font-size: 12px;
	color: #888;
	text-align: right;
}

body.woocommerce-account .andp-acct__country-cta {
	display: inline-block;
	font-family: var(--andp-font-mono);
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--andp-gold);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	margin-left: 8px;
	transition: border-color 150ms ease;
}
body.woocommerce-account .andp-acct__country-cta:hover {
	border-bottom-color: var(--andp-gold);
}

body.woocommerce-account .andp-acct__edit-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--andp-font-mono);
	font-size: 9px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #444;
	text-decoration: none;
	border: 1px solid #1e1e1e;
	padding: 10px 16px;
	transition: color 200ms ease, border-color 200ms ease;
}
body.woocommerce-account .andp-acct__edit-btn:hover {
	color: var(--andp-gold);
	border-color: var(--andp-gold);
}

body.woocommerce-account .andp-acct__signout {
	display: block;
	width: 100%;
	padding: 12px;
	font-family: var(--andp-font-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	color: #444;
	border: 1px solid #1e1e1e;
	transition: border-color 200ms ease, color 200ms ease;
	box-sizing: border-box;
}
body.woocommerce-account .andp-acct__signout:hover {
	border-color: rgb(153,27,27);
	color: rgb(239,68,68);
}

/* Edit page */
body.woocommerce-account .andp-acct--edit-page {
	max-width: 560px;
}

body.woocommerce-account .andp-acct__back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--andp-font-mono);
	font-size: 9px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #444;
	text-decoration: none;
	margin-bottom: 32px;
	transition: color 200ms ease;
}
body.woocommerce-account .andp-acct__back-link:hover { color: var(--andp-gold); }

body.woocommerce-account .andp-acct__edit-header { margin-bottom: 32px; }

body.woocommerce-account .andp-acct__edit-title {
	font-size: 28px;
	font-weight: 300;
	color: var(--andp-white);
	letter-spacing: -0.01em;
	margin: 0;
}

body.woocommerce-account .andp-acct__form-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 1px solid #1a1a1a;
}
body.woocommerce-account .andp-acct__form-section:last-of-type { border-bottom: none; }

body.woocommerce-account .andp-acct__form-section-label {
	font-family: var(--andp-font-mono);
	font-size: 9px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--andp-gold);
	margin: 0;
}

body.woocommerce-account .andp-acct__form-row--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

body.woocommerce-account .andp-acct__form-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.woocommerce-account .andp-acct__form-label {
	font-family: var(--andp-font-mono);
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--andp-text-muted);
}
body.woocommerce-account .andp-acct__form-label abbr {
	color: var(--andp-gold);
	text-decoration: none;
}

body.woocommerce-account .andp-acct__input {
	background: #111;
	border: 1px solid #1e1e1e;
	color: var(--andp-white);
	font-family: var(--andp-font-sans);
	font-size: 13px;
	padding: 10px 14px;
	outline: none;
	width: 100%;
	box-sizing: border-box;
	-webkit-appearance: none;
	transition: border-color 150ms ease;
}
body.woocommerce-account .andp-acct__input:focus { border-color: var(--andp-gold); }
body.woocommerce-account .andp-acct__input::placeholder { color: #333; }

body.woocommerce-account .andp-acct__input-hint {
	font-size: 11px;
	color: var(--andp-text-dim);
}
body.woocommerce-account .andp-acct__input-hint a {
	color: var(--andp-gold);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 150ms ease;
}
body.woocommerce-account .andp-acct__input-hint a:hover {
	border-bottom-color: var(--andp-gold);
}
body.woocommerce-account .andp-acct__input-hint--block {
	display: block;
	margin-top: -8px;
}

body.woocommerce-account .andp-acct__select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
	cursor: pointer;
}
body.woocommerce-account .andp-acct__select:focus {
	border-color: var(--andp-gold);
}
body.woocommerce-account .andp-acct__select option {
	background: #111;
	color: var(--andp-white);
}

body.woocommerce-account .andp-acct__input--locked {
	opacity: 0.5;
	cursor: not-allowed;
	border-style: dashed;
}

body.woocommerce-account .andp-acct__form-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 8px;
}

/* Save Changes button */
body.woocommerce-account .andp-acct__form button[type="submit"],
body.woocommerce-account .andp-acct--edit-page .andp-account-btn--gold {
	background: var(--andp-gold) !important;
	color: #000 !important;
	font-family: var(--andp-font-mono) !important;
	font-size: 10px !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase !important;
	padding: 12px 24px !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer !important;
	transition: background 200ms ease !important;
	display: inline-flex !important;
	align-items: center !important;
}
body.woocommerce-account .andp-acct__form button[type="submit"]:hover,
body.woocommerce-account .andp-acct--edit-page .andp-account-btn--gold:hover {
	background: #d4a040 !important;
	color: #000 !important;
}

body.woocommerce-account .andp-acct--edit-page .andp-account-btn--ghost {
	font-family: var(--andp-font-mono) !important;
	font-size: 10px !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase !important;
	color: #444 !important;
	border: 1px solid #1e1e1e !important;
	background: transparent !important;
	padding: 11px 24px !important;
	border-radius: 0 !important;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	transition: color 200ms ease, border-color 200ms ease !important;
}
body.woocommerce-account .andp-acct--edit-page .andp-account-btn--ghost:hover {
	color: var(--andp-gold) !important;
	border-color: var(--andp-gold) !important;
}

/* ==========================================================================
   EMAIL NOTIFICATIONS TAB
   ========================================================================== */

body.woocommerce-account .andp-notifs {
	max-width: 560px;
}

body.woocommerce-account .andp-notifs__form {
	display: flex;
	flex-direction: column;
	gap: 0;
}

body.woocommerce-account .andp-notifs__group {
	padding-bottom: 32px;
	margin-bottom: 32px;
	border-bottom: 1px solid #1a1a1a;
}
body.woocommerce-account .andp-notifs__group:last-of-type { border-bottom: none; }

body.woocommerce-account .andp-notifs__group-label {
	font-family: var(--andp-font-mono);
	font-size: 9px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--andp-gold);
	margin: 0 0 6px;
}

body.woocommerce-account .andp-notifs__group-desc {
	font-size: 11px;
	color: var(--andp-text-dim);
	margin: 0 0 20px;
}

body.woocommerce-account .andp-notifs__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px 0;
	border-bottom: 1px solid #111;
}
body.woocommerce-account .andp-notifs__row--last { border-bottom: none; }

body.woocommerce-account .andp-notifs__row-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

body.woocommerce-account .andp-notifs__row-title {
	font-size: 13px;
	color: var(--andp-white);
	font-weight: 400;
}

body.woocommerce-account .andp-notifs__row-desc {
	font-size: 11px;
	color: var(--andp-text-dim);
}

/* Toggle switch */
body.woocommerce-account .andp-notifs__toggle {
	position: relative;
	flex-shrink: 0;
	cursor: pointer;
}
body.woocommerce-account .andp-notifs__toggle input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
body.woocommerce-account .andp-notifs__toggle-track {
	display: block;
	width: 40px;
	height: 22px;
	background: #1e1e1e;
	border: 1px solid #2a2a2a;
	position: relative;
	transition: background 200ms ease, border-color 200ms ease;
}
body.woocommerce-account .andp-notifs__toggle input:checked + .andp-notifs__toggle-track {
	background: rgba(201,146,42,0.2);
	border-color: var(--andp-gold);
}
body.woocommerce-account .andp-notifs__toggle-thumb {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 14px;
	height: 14px;
	background: #444;
	transition: transform 200ms ease, background 200ms ease;
}
body.woocommerce-account .andp-notifs__toggle input:checked + .andp-notifs__toggle-track .andp-notifs__toggle-thumb {
	transform: translateX(18px);
	background: var(--andp-gold);
}

body.woocommerce-account .andp-notifs__actions { padding-top: 8px; }

body.woocommerce-account .andp-notifs__save-btn {
	background: var(--andp-gold) !important;
	color: #000 !important;
	font-family: var(--andp-font-mono) !important;
	font-size: 10px !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase !important;
	padding: 12px 24px !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer !important;
	transition: background 200ms ease !important;
	display: inline-block !important;
}
body.woocommerce-account .andp-notifs__save-btn:hover {
	background: #d4a040 !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
	body.woocommerce-account .andp-library__grid { grid-template-columns: repeat(2, 1fr); }
	body.woocommerce-account .andp-orders__row { grid-template-columns: 70px 1fr 80px; }
	body.woocommerce-account .andp-orders__cell--product,
	body.woocommerce-account .andp-orders__cell--amount { display: none; }
}

@media (max-width: 768px) {
	body.woocommerce-account .andp-account__header {
		flex-direction: column;
		gap: 24px;
		padding: 24px 16px 0;
	}
	body.woocommerce-account .andp-account__stats { display: none; }
	body.woocommerce-account .andp-account__tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 0 16px;
		margin-top: 24px;
	}
	body.woocommerce-account .andp-account__tabs::-webkit-scrollbar { display: none; }
	body.woocommerce-account .andp-account__tab { white-space: nowrap; padding: 14px 16px 13px; }
	body.woocommerce-account .andp-account__panel { padding: 24px 16px 64px; }
	body.woocommerce-account .andp-acct__form-row--split { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	body.woocommerce-account .andp-library__grid { grid-template-columns: 1fr; }
}

/* ── My Account login form — lost password link ── */
body.woocommerce-account .woocommerce-form-login .lost_password,
body.woocommerce-account .woocommerce-form.login .lost_password {
	margin-top: 12px;
}
body.woocommerce-account .woocommerce-form-login .lost_password a,
body.woocommerce-account .woocommerce-form.login .lost_password a {
	color: var(--andp-gold);
	font-family: var(--andp-font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 150ms ease;
}
body.woocommerce-account .woocommerce-form-login .lost_password a:hover,
body.woocommerce-account .woocommerce-form.login .lost_password a:hover {
	border-bottom-color: var(--andp-gold);
}

/* ==========================================================================
   Login / Register page — logged-out state (form-login.php)
   ========================================================================== */

/*
   The fixed nav is 56px. body already has padding-top: var(--andp-nav-height)
   from global.css, so we only need additional breathing room here.
*/
body.woocommerce-account .andp-login-page {
	max-width: 1280px;
	margin: 0 auto;
	padding: 72px 24px 100px;
}

/* ── Page header ── */
body.woocommerce-account .andp-login-page__header {
	margin-bottom: 48px;
}

body.woocommerce-account .andp-login-page__eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--andp-font-mono);
	font-size: var(--andp-size-label);
	text-transform: uppercase;
	letter-spacing: 0.4em;
	color: var(--andp-gold);
	margin: 0 0 14px;
}

body.woocommerce-account .andp-login-page__eyebrow-line {
	display: block;
	width: 28px;
	height: 1px;
	background: var(--andp-gold);
	flex-shrink: 0;
}

body.woocommerce-account .andp-login-page__title {
	font-size: clamp(22px, 4vw, 32px);
	font-weight: 300;
	color: var(--andp-white);
	margin: 0 0 10px;
	line-height: 1.2;
}

body.woocommerce-account .andp-login-page__sub {
	font-size: 13px;
	color: var(--andp-text-muted);
	margin: 0;
	line-height: 1.6;
}

/* ── Column layout ── */
body.woocommerce-account .andp-login-page__cols {
	display: grid;
	grid-template-columns: 1fr;
	max-width: 480px;
}

body.woocommerce-account .andp-login-page__cols--two {
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	max-width: 860px;
}

/* ── Column heading (Sign In / Create Account) ── */
body.woocommerce-account .andp-login-page__col-heading {
	font-family: var(--andp-font-mono);
	font-size: var(--andp-size-label);
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--andp-gold);
	margin: 0 0 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--andp-border-dark);
}

/* Divider between columns */
body.woocommerce-account .andp-login-page__col--register {
	padding-left: 48px;
	border-left: 1px solid var(--andp-border-dark);
	margin-left: -48px; /* cancel gap so border aligns with gap centre */
}

/* ── Form fields (shared by login + register) ── */
body.woocommerce-account .andp-lf__field {
	margin-bottom: 16px;
}

body.woocommerce-account .andp-lf__label {
	display: block;
	font-family: var(--andp-font-mono);
	font-size: var(--andp-size-label);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--andp-text-muted);
	margin-bottom: 8px;
}

body.woocommerce-account .andp-lf__input {
	width: 100%;
	background: var(--andp-surface);
	border: 1px solid var(--andp-border-light);
	color: var(--andp-white);
	font-family: var(--andp-font-sans);
	font-size: 13px;
	padding: 11px 14px;
	outline: none;
	transition: border-color var(--andp-transition);
	-webkit-appearance: none;
	box-shadow: none;
}

body.woocommerce-account .andp-lf__input:focus {
	border-color: var(--andp-gold);
}

body.woocommerce-account .andp-lf__input::placeholder {
	color: var(--andp-text-darker);
}

/* ── Remember me row ── */
body.woocommerce-account .andp-lf__row--remember {
	margin-bottom: 20px;
}

body.woocommerce-account .andp-lf__remember {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 12px;
	color: var(--andp-text-muted);
}

body.woocommerce-account .andp-lf__checkbox {
	accent-color: var(--andp-gold);
	width: 14px;
	height: 14px;
	cursor: pointer;
	flex-shrink: 0;
}

/* ── Submit buttons ── */
body.woocommerce-account .andp-lf__submit {
	width: 100%;
	display: block;
	background: var(--andp-gold);
	color: #000;
	font-family: var(--andp-font-mono);
	font-size: var(--andp-size-label);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	padding: 14px 24px;
	border: none;
	cursor: pointer;
	transition: background-color var(--andp-transition);
	margin-top: 4px;
}

body.woocommerce-account .andp-lf__submit:hover {
	background: #b8821e;
}

/* Ghost variant for register */
body.woocommerce-account .andp-lf__submit--ghost {
	background: transparent;
	color: var(--andp-gold);
	border: 1px solid var(--andp-gold);
}

body.woocommerce-account .andp-lf__submit--ghost:hover {
	background: var(--andp-gold);
	color: #000;
}

/* ── "Forgot your password?" link ── */
body.woocommerce-account .andp-lf__lost-pw {
	margin: 16px 0 0;
}

body.woocommerce-account .andp-lf__lost-pw a {
	font-family: var(--andp-font-mono);
	font-size: var(--andp-size-label);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--andp-text-muted);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color var(--andp-transition), border-color var(--andp-transition);
}

body.woocommerce-account .andp-lf__lost-pw a:hover {
	color: var(--andp-gold);
	border-bottom-color: var(--andp-gold);
}

/* ── Privacy policy text in register form ── */
body.woocommerce-account .andp-lf__privacy {
	font-size: 11px;
	color: var(--andp-text-dim);
	line-height: 1.65;
	margin: 0 0 16px;
}

body.woocommerce-account .andp-lf__privacy a {
	color: var(--andp-gold);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color var(--andp-transition);
}

body.woocommerce-account .andp-lf__privacy a:hover {
	border-bottom-color: var(--andp-gold);
}

/* ── WC notices on login page (wrong password etc.) ── */
body.woocommerce-account .andp-login-page .woocommerce-error,
body.woocommerce-account .andp-login-page .woocommerce-message,
body.woocommerce-account .andp-login-page .woocommerce-info {
	list-style: none;
	background: var(--andp-surface);
	border: 1px solid var(--andp-border-light);
	border-left: 3px solid var(--andp-gold);
	padding: 12px 16px;
	margin-bottom: 24px;
	font-size: 12px;
	color: var(--andp-text-mid);
}

body.woocommerce-account .andp-login-page .woocommerce-error {
	border-left-color: #ef9a9a;
}

/* ── Responsive ── */
@media (max-width: 700px) {
	body.woocommerce-account .andp-login-page {
		padding: 48px 20px 80px;
	}

	body.woocommerce-account .andp-login-page__cols--two {
		grid-template-columns: 1fr;
		gap: 48px;
		max-width: 100%;
	}

	body.woocommerce-account .andp-login-page__col--register {
		padding-left: 0;
		border-left: none;
		margin-left: 0;
		padding-top: 48px;
		border-top: 1px solid var(--andp-border-dark);
	}
}

/* ── Suppress WC's auto-generated privacy policy paragraph ──────────────────
   WooCommerce hooks its own privacy text onto woocommerce_register_form_end.
   We render our own styled version via the terms checkbox, so WC's output
   is hidden here as a belt-and-braces measure alongside the template change. */
body.woocommerce-account .andp-login-page .woocommerce-privacy-policy-text {
	display: none;
}

/* ── Registration checkboxes ─────────────────────────────────────────────── */
body.woocommerce-account .andp-lf__checkboxes {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 20px 0 24px;
	padding: 20px;
	background: var(--andp-surface);
	border: 1px solid var(--andp-border-light);
}

body.woocommerce-account .andp-lf__check-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

body.woocommerce-account .andp-lf__check-row .andp-lf__checkbox {
	margin-top: 2px; /* optical alignment with first line of text */
	flex-shrink: 0;
}

body.woocommerce-account .andp-lf__check-text {
	font-size: 12px;
	color: var(--andp-text-muted);
	line-height: 1.6;
}

body.woocommerce-account .andp-lf__check-text a {
	color: var(--andp-gold);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color var(--andp-transition);
}

body.woocommerce-account .andp-lf__check-text a:hover {
	border-bottom-color: var(--andp-gold);
}

body.woocommerce-account .andp-lf__check-required {
	color: var(--andp-gold);
	margin-left: 2px;
}

body.woocommerce-account .andp-lf__check-optional {
	font-family: var(--andp-font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--andp-text-darker);
	margin-left: 4px;
}

/* ── Split row (first name / last name side by side) ── */
body.woocommerce-account .andp-lf__row--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

/* ── Country select ── */
body.woocommerce-account .andp-lf__select {
	width: 100%;
	background: var(--andp-surface);
	border: 1px solid var(--andp-border-light);
	color: var(--andp-white);
	font-family: var(--andp-font-sans);
	font-size: 13px;
	padding: 11px 14px;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
	transition: border-color var(--andp-transition);
}

body.woocommerce-account .andp-lf__select:focus {
	border-color: var(--andp-gold);
}

body.woocommerce-account .andp-lf__select option {
	background: #1a1a1a;
	color: var(--andp-white);
}

/* ── Required asterisk ── */
body.woocommerce-account .andp-lf__req {
	color: var(--andp-gold);
	margin-left: 2px;
}

@media (max-width: 500px) {
	body.woocommerce-account .andp-lf__row--split {
		grid-template-columns: 1fr;
	}
}
