/* Anorthosis Chair — landing page
 * Everything is scoped under .anochair so the theme (UnderStrap / Bootstrap) is untouched
 * and theme styles don't leak in.
 */

/* Manrope, self-hosted (Greek + Latin) — no Google Fonts request. */
@font-face { font-family: "AnoManrope"; src: url(../fonts/manrope-greek-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "AnoManrope"; src: url(../fonts/manrope-greek-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "AnoManrope"; src: url(../fonts/manrope-greek-800-normal.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "AnoManrope"; src: url(../fonts/manrope-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "AnoManrope"; src: url(../fonts/manrope-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "AnoManrope"; src: url(../fonts/manrope-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ------------------------------------------------------------------ tokens */
.anochair {
	--ac-night: #020a26;
	--ac-navy: #06154a;
	--ac-blue: #1b4fe0;
	--ac-blue-dark: #1540c2;
	--ac-blue-hi: #3a8dff;
	--ac-mist: #eef2fb;
	--ac-ink: #0b1638;
	--ac-muted: #55607d;
	--ac-line: #c8d1e6;
	--ac-error: #c4262e;
	--ac-ok: #14804f;

	display: block;
	width: 100%;
	font-family: "AnoManrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.55;
	color: var(--ac-ink);
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ------------------------------------------------------------------ resets (beat theme/Bootstrap) */
.anochair *, .anochair *::before, .anochair *::after { box-sizing: border-box; }
.anochair h1, .anochair h2, .anochair h3, .anochair p, .anochair ol, .anochair figure { margin: 0; padding: 0; }
.anochair h1, .anochair h2, .anochair h3 { font-family: inherit; text-transform: none; }
.anochair ol { list-style: none; }
.anochair img { max-width: 100%; height: auto; border: 0; }
.anochair label { display: block; margin: 0; }
.anochair [hidden] { display: none !important; }
.anochair-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.anochair-main { display: block; margin: 0; padding: 0; max-width: none; }

.anochair-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ------------------------------------------------------------------ buttons */
.anochair-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--ac-blue);
	color: #fff;
	font: inherit;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}
.anochair-btn:hover, .anochair-btn:focus { background: var(--ac-blue-dark); color: #fff; text-decoration: none; }
.anochair-btn:active { transform: translateY(1px); }
.anochair-btn:focus-visible { outline: 3px solid #8fb4ff; outline-offset: 3px; }
.anochair-btn--light { background: #fff; color: var(--ac-navy); }
.anochair-btn--light:hover, .anochair-btn--light:focus { background: #dfe8ff; color: var(--ac-navy); }
.anochair-btn--block { width: 100%; }

/* ------------------------------------------------------------------ hero */
.anochair-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px);
	color: #fff;
	background:
		radial-gradient(55% 60% at 74% 42%, rgba(37, 99, 255, .40), transparent 70%),
		radial-gradient(40% 45% at 100% 0%, rgba(40, 110, 255, .55), transparent 70%),
		linear-gradient(180deg, #05144d 0%, var(--ac-night) 60%, #010618 100%);
}
/* Faint eagle outline from the crest, as on the printed flyer. */
.anochair-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: -10%;
	bottom: -8%;
	width: min(920px, 95vw);
	aspect-ratio: 900 / 713;
	background: url(../img/eagle-outline.webp) no-repeat center / contain;
	opacity: .2;
	pointer-events: none;
}
.anochair-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -14%;
	top: -18%;
	width: min(560px, 70vw);
	aspect-ratio: 900 / 713;
	background: url(../img/eagle-outline.webp) no-repeat center / contain;
	opacity: .08;
	transform: scaleX(-1);
	pointer-events: none;
}

.anochair-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	grid-template-areas:
		"brand product"
		"body  product";
	grid-template-rows: auto 1fr;
	column-gap: clamp(24px, 5vw, 80px);
}

.anochair-hero__brand {
	grid-area: brand;
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.4vw, 30px);
}
.anochair .anochair-hero__crest {
	flex: none;
	width: auto;
	height: clamp(88px, 10vw, 140px);
}
.anochair .anochair-hero__title {
	color: #fff;
	font-size: clamp(2rem, 3.9vw, 3.6rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.01em;
}
.anochair .anochair-hero__title > span { display: block; white-space: nowrap; }
/* The blue rule under the headline, from the flyer. */
.anochair .anochair-hero__title::after {
	content: "";
	display: block;
	width: 100%;
	height: 6px;
	margin-top: .32em;
	background: linear-gradient(90deg, var(--ac-blue), #2f6bff);
}

.anochair-hero__body {
	grid-area: body;
	max-width: 34rem;
	padding-top: clamp(22px, 3vw, 34px);
}
.anochair .anochair-hero__lead {
	color: #dfe8ff;
	font-size: clamp(1.15rem, 1.7vw, 1.45rem);
	font-weight: 500;
	line-height: 1.35;
}
.anochair .anochair-hero__text {
	margin-top: 18px;
	max-width: 31em;
	color: rgba(255, 255, 255, .84);
	font-size: 1.08rem;
	line-height: 1.65;
}
.anochair-hero__offer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 22px;
	margin-top: 32px;
}
.anochair .anochair-price {
	padding: .14em .62em .16em;
	border-radius: 999px;
	background: linear-gradient(90deg, #1744d4, var(--ac-blue-hi));
	box-shadow: 0 14px 34px -12px rgba(48, 118, 255, .85);
	color: #fff;
	font-size: clamp(2.2rem, 4vw, 3.1rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.015em;
	white-space: nowrap;
}
.anochair .anochair-hero__deadline {
	margin-top: 24px;
	color: #b8c7ee;
	font-size: .98rem;
}
.anochair-hero__deadline strong { color: #fff; font-weight: 800; }
.anochair-hero__deadline [data-anochair-countdown]:not(:empty) { display: block; margin-top: 2px; color: #fff; font-weight: 700; }

/* The chair under a floodlight. */
.anochair-hero__product {
	grid-area: product;
	position: relative;
	display: grid;
	place-items: center;
	align-self: center;
	padding: 24px 0 18px;
}
.anochair-hero__product picture { position: relative; z-index: 2; display: block; }
.anochair .anochair-hero__chair {
	display: block;
	width: min(100%, 340px);
	filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .5));
	animation: anochair-rise .9s cubic-bezier(.2, .7, .2, 1) .15s both;
}
.anochair-beam {
	position: absolute;
	z-index: 0;
	left: 50%;
	top: -240px;
	width: 170%;
	height: calc(100% + 240px);
	transform: translateX(-50%);
	background: linear-gradient(180deg, rgba(170, 205, 255, .62) 0%, rgba(80, 140, 255, .22) 55%, rgba(60, 120, 255, 0) 88%);
	clip-path: polygon(45% 0, 55% 0, 88% 100%, 12% 100%);
	filter: blur(16px);
	opacity: .75;
	pointer-events: none;
	animation: anochair-beam 1.3s ease-out both;
}
.anochair-floor {
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: 4px;
	width: min(92%, 380px);
	height: 54px;
	transform: translateX(-50%);
	border-radius: 50%;
	background:
		radial-gradient(closest-side, rgba(0, 4, 20, .75), rgba(0, 4, 20, 0) 90%),
		radial-gradient(closest-side, transparent 86%, rgba(110, 160, 255, .55) 93%, transparent 100%);
	pointer-events: none;
}

@keyframes anochair-rise {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: none; }
}
@keyframes anochair-beam {
	from { opacity: 0; }
	to   { opacity: .75; }
}

/* ------------------------------------------------------------------ order section */
.anochair-order {
	padding: clamp(56px, 7vw, 100px) 0;
	background: var(--ac-mist);
	scroll-margin-top: 90px;
}
.anochair-order__grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}

.anochair-steps { position: sticky; top: 110px; }
.anochair .anochair-steps__title {
	margin-bottom: 30px;
	color: var(--ac-navy);
	font-size: clamp(1.65rem, 2.6vw, 2.3rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.01em;
}
.anochair-steps__list li {
	position: relative;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 16px;
	padding-bottom: 28px;
}
.anochair-steps__list li:last-child { padding-bottom: 0; }
.anochair-steps__list li:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 21px;
	top: 50px;
	bottom: 6px;
	width: 2px;
	background: #cdd6ec;
}
.anochair-steps__list .anochair-steps__num {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ac-navy);
	color: #fff;
	font-weight: 800;
	font-size: 1.05rem;
}
.anochair-steps__list strong { display: block; padding-top: 2px; color: var(--ac-ink); font-size: 1.08rem; font-weight: 800; }
.anochair-steps__list div > span { display: block; color: var(--ac-muted); }

/* ------------------------------------------------------------------ card + form */
.anochair-card {
	background: #fff;
	border: 1px solid #dde4f2;
	border-radius: 20px;
	padding: clamp(22px, 3.6vw, 40px);
	box-shadow: 0 1px 0 rgba(6, 21, 74, .04), 0 28px 60px -32px rgba(6, 21, 74, .45);
}
.anochair-card__product {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 26px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e6ebf5;
}
.anochair .anochair-card__product img { flex: none; width: 44px; }
.anochair .anochair-card__name { color: var(--ac-ink); font-weight: 800; font-size: 1.05rem; line-height: 1.3; }
.anochair .anochair-card__unit { color: var(--ac-muted); font-size: .95rem; }

.anochair-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 16px;
}
.anochair-field--full { grid-column: 1 / -1; }

.anochair .anochair-field label {
	margin-bottom: 7px;
	color: var(--ac-ink);
	font-size: .93rem;
	font-weight: 700;
	line-height: 1.3;
}
.anochair-optional { margin-left: 4px; color: var(--ac-muted); font-weight: 500; }

.anochair .anochair-field input {
	display: block;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 14px;
	border: 1.5px solid var(--ac-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	color: var(--ac-ink);
	font: inherit;
	font-size: 1rem;
	line-height: normal;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.anochair .anochair-field input::placeholder { color: #8a93ab; opacity: 1; }
.anochair .anochair-field input:focus {
	outline: none;
	border-color: var(--ac-blue);
	box-shadow: 0 0 0 4px rgba(27, 79, 224, .18);
}
.anochair .anochair-field input[aria-invalid="true"] { border-color: var(--ac-error); }
.anochair .anochair-field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(196, 38, 46, .16); }

.anochair .anochair-error { margin-top: 6px; color: var(--ac-error); font-size: .86rem; font-weight: 600; line-height: 1.35; }
.anochair .anochair-error:empty { display: none; }

/* Quantity stepper */
.anochair-qty-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 20px;
}
.anochair-qty {
	display: inline-flex;
	height: 52px;
	border: 1.5px solid var(--ac-line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}
.anochair-qty:focus-within { border-color: var(--ac-blue); box-shadow: 0 0 0 4px rgba(27, 79, 224, .18); }
.anochair .anochair-qty__btn {
	width: 50px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #f2f5fc;
	color: var(--ac-navy);
	font: inherit;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}
.anochair .anochair-qty__btn:hover { background: #e3eafa; }
.anochair .anochair-qty__btn:focus-visible { outline: 3px solid var(--ac-blue); outline-offset: -3px; }
.anochair .anochair-qty__btn:disabled { color: #a9b2c8; cursor: default; background: #f6f8fc; }
.anochair .anochair-field .anochair-qty input {
	width: 68px;
	height: 100%;
	border: 0;
	border-left: 1.5px solid var(--ac-line);
	border-right: 1.5px solid var(--ac-line);
	border-radius: 0;
	box-shadow: none;
	text-align: center;
	font-size: 1.15rem;
	font-weight: 800;
	-moz-appearance: textfield;
}
.anochair .anochair-qty input::-webkit-outer-spin-button,
.anochair .anochair-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.anochair .anochair-qty input:focus { box-shadow: none; }

.anochair .anochair-total { color: var(--ac-muted); font-size: 1rem; }
.anochair-total strong {
	margin-left: 8px;
	color: var(--ac-navy);
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -.01em;
	font-variant-numeric: tabular-nums;
}

/* Honeypot */
.anochair-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.anochair .anochair-alert {
	margin-top: 22px;
	padding: 12px 16px;
	border-radius: 10px;
	background: #fdecec;
	color: #8f1d22;
	font-weight: 600;
}

.anochair-form .anochair-btn--block { margin-top: 26px; min-height: 58px; font-size: 1.06rem; }
.anochair-btn[aria-busy="true"] { cursor: progress; opacity: .85; }
.anochair-btn[aria-busy="true"]::before {
	content: "";
	width: 18px;
	height: 18px;
	border: 2.5px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: anochair-spin .7s linear infinite;
}
@keyframes anochair-spin { to { transform: rotate(360deg); } }

.anochair .anochair-privacy { margin-top: 14px; color: var(--ac-muted); font-size: .86rem; text-align: center; }

/* Success / closed */
.anochair-result { padding: 20px 4px 8px; text-align: center; outline: none; }
.anochair-result__icon { display: block; width: 60px; height: 60px; margin: 0 auto 16px; color: var(--ac-ok); animation: anochair-pop .45s cubic-bezier(.2, .9, .3, 1.3) both; }
.anochair .anochair-result__title { color: var(--ac-navy); font-size: 1.55rem; font-weight: 800; line-height: 1.2; }
.anochair .anochair-result__text { margin-top: 10px; color: var(--ac-ink); font-size: 1.08rem; }
.anochair .anochair-result__note { margin-top: 8px; color: var(--ac-muted); }
.anochair-result--closed { padding-top: 8px; }
@keyframes anochair-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* Form-only shortcode */
.anochair--form-only { max-width: 720px; margin-inline: auto; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 900px) {
	.anochair-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"brand"
			"product"
			"body";
		grid-template-rows: auto;
	}
	.anochair .anochair-hero__title { font-size: clamp(2rem, 6vw, 3.2rem); }
	.anochair-hero__product { padding: 30px 0 6px; }
	.anochair .anochair-hero__chair { width: min(64vw, 290px); }
	.anochair-hero__body { max-width: none; padding-top: 22px; }

	.anochair-order__grid { grid-template-columns: minmax(0, 1fr); }
	.anochair-steps { position: static; }
}

@media (max-width: 560px) {
	.anochair-wrap { width: calc(100% - 32px); }
	.anochair .anochair-hero__crest { height: 76px; }
	.anochair .anochair-hero__title { font-size: min(7.2vw, 2.3rem); }
	.anochair .anochair-hero__title::after { height: 5px; }
	.anochair-hero__offer .anochair-btn { flex: 1 1 100%; }
	.anochair-form__grid { grid-template-columns: minmax(0, 1fr); }
	.anochair-card { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.anochair *, .anochair *::before, .anochair *::after { animation: none !important; transition: none !important; }
}
