/* Auto-Pass Online: shared layout (header, footer, buttons, legal pages) */

:root {
	--ap-purple: #28104e;
	--ap-navy-950: #0a1f45;
	--ap-navy-900: #0f2d63;
	--ap-navy-800: #173a78;
	--ap-navy-700: #1f4a8f;
	--ap-navy-600: #2a5ba8;
	--ap-navy-100: #dde5f2;
	--ap-navy-50: #f1f4f9;
	--ap-green: #1f903d;
	--ap-green-700: #187a33;
	--ap-green-50: #eef8f1;
	--ap-warn: #9a6700;
	--ap-warn-50: #fff8e1;
	--ap-text: #212529;
	--ap-muted: #5a6270;
	--ap-border: #d9dee6;
	--ap-red: #c62828;
	--ap-radius: 4px;
	--ap-shadow: 0 1px 2px rgba(15, 45, 99, .06), 0 4px 14px rgba(15, 45, 99, .06);
	--ap-font: "Roboto", Arial, ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--ap-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ap-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--ap-navy-600);
}

.ap-container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.ap-skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 10000;
	padding: 10px 16px;
	background: #fff;
	color: var(--ap-navy-900);
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
}

.ap-skip-link:focus {
	top: 12px;
}

:focus-visible {
	outline: 3px solid #6c9be0;
	outline-offset: 2px;
}

/* Buttons */
.ap-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	border: 1px solid transparent;
	border-radius: 2px;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}

.ap-btn--primary {
	background: var(--ap-green);
	color: #fff;
}

.ap-btn--primary:hover {
	background: var(--ap-green-700);
	color: #fff;
}

.ap-btn--ghost {
	background: #fff;
	color: var(--ap-navy-900);
	border-color: var(--ap-border);
}

.ap-btn--ghost:hover {
	border-color: var(--ap-navy-600);
	color: var(--ap-navy-900);
}

.ap-btn--lg {
	min-height: 52px;
	padding: 14px 28px;
	font-size: 16px;
}

/* Top bar */
.ap-topbar {
	background: var(--ap-purple);
	color: #d9d2e6;
	font-size: 12.5px;
}

.ap-topbar .ap-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 34px;
}

.ap-topbar p {
	margin: 0;
}

.ap-topbar nav {
	display: flex;
	gap: 18px;
}

.ap-topbar a {
	color: #e6e0f0;
	text-decoration: none;
}

.ap-topbar a:hover {
	color: #fff;
}

/* Header */
.ap-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: #fff;
	border-bottom: 1px solid var(--ap-border);
	box-shadow: 0 1px 6px rgba(15, 45, 99, .06);
}

.ap-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 68px;
}

.ap-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ap-navy-900);
	text-decoration: none;
	white-space: nowrap;
}

.ap-logo__mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	background: var(--ap-navy-900);
	color: #fff;
	border-radius: 2px;
	font-size: 16px;
	font-weight: 900;
	letter-spacing: .02em;
}

.ap-logo__text {
	display: flex;
	flex-direction: column;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.1;
	text-transform: uppercase;
}

.ap-logo__text small {
	color: var(--ap-muted);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .14em;
}

.ap-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}

.ap-nav a {
	padding: 8px 11px;
	color: #333;
	font-size: 15px;
	font-weight: 400;
	text-decoration: none;
}

.ap-nav a:hover {
	color: var(--ap-navy-900);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ap-nav a.ap-header__cta,
.ap-nav a.ap-header__cta:hover {
	color: #fff;
	text-decoration: none;
}

.ap-header__cta {
	margin-left: 8px;
}

.ap-menu-toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--ap-border);
	border-radius: 2px;
	color: var(--ap-navy-900);
	cursor: pointer;
}

.ap-menu-toggle svg {
	display: block;
	margin: auto;
}

/* Footer */
.ap-footer {
	background: var(--ap-navy-900);
	color: #b9c6dd;
	font-size: 14px;
	padding: 56px 0 28px;
}

.ap-footer a {
	color: #d6deeb;
	text-decoration: none;
}

.ap-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.ap-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
	gap: 36px;
}

.ap-footer__about p {
	margin: 14px 0 18px;
	line-height: 1.65;
}

.ap-footer h2 {
	margin: 0 0 14px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ap-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ap-footer li {
	margin-bottom: 9px;
}

.ap-footer__contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.ap-footer__contact svg {
	flex: 0 0 auto;
	margin-top: 3px;
	color: #8fb3ea;
}

.ap-footer .ap-logo {
	color: #fff;
}

.ap-footer .ap-logo__mark {
	background: #fff;
	color: var(--ap-navy-900);
}

.ap-footer .ap-logo__text small {
	color: #b9c6dd;
}

.ap-footer .ap-logo:hover {
	text-decoration: none;
}

.ap-footer__contact small {
	display: block;
	color: #8692a8;
	font-size: 12.5px;
}

.ap-paybadges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ap-paybadge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 2px;
	color: #d6deeb;
	font-size: 12px;
	font-weight: 600;
}

.ap-footer__legal {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 12.5px;
	line-height: 1.7;
	color: #9fb0cc;
}

.ap-footer__legal p {
	margin: 0 0 10px;
}

.ap-footer__anpc {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 16px 0;
}

.ap-footer__anpc img {
	display: block;
	width: 200px;
	height: 50px;
	border-radius: 6px;
}

/* Floating WhatsApp */
.ap-wa {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 950;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 16px;
	background: #25d366;
	color: #fff;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}

.ap-wa:hover {
	background: #1ebe5b;
	color: #fff;
}

/* Cookie banner (shown by cookies.js) */
#cookie-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 9999;
	max-width: 760px;
	margin: 0 auto;
	padding: 14px 18px;
	background: #fff;
	color: var(--ap-text);
	border: 1px solid var(--ap-border);
	border-top: 3px solid var(--ap-navy-900);
	border-radius: 2px;
	box-shadow: 0 10px 30px rgba(10, 31, 69, .18);
	font-size: 14px;
}

#cookie-banner .ap-cookie__inner {
	display: flex;
	align-items: center;
	gap: 16px;
}

#cookie-banner p {
	margin: 0;
	flex: 1;
}

.cookie-btn {
	flex: 0 0 auto;
	padding: 9px 18px;
	background: var(--ap-navy-900);
	color: #fff;
	border: 0;
	border-radius: 2px;
	font: inherit;
	font-weight: 500;
	cursor: pointer;
}

/* Inner pages rendered by WordPress (terms, GDPR, contact, order pages) */
body.ap-inner .site-main {
	max-width: 880px;
	margin: 0 auto;
	padding: 48px 20px 72px;
}

body.ap-inner .page-header .entry-title {
	margin: 0 0 24px;
	color: var(--ap-navy-900);
	padding-bottom: 16px;
	border-bottom: 3px solid var(--ap-navy-900);
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 900;
	letter-spacing: -.01em;
	line-height: 1.2;
}

body.ap-inner .page-content,
body.ap-inner .page-content .elementor-widget-text-editor,
body.ap-inner .page-content .elementor-heading-title {
	font-family: var(--ap-font);
	color: var(--ap-text);
}

body.ap-inner .page-content h2,
body.ap-inner .page-content .elementor-heading-title {
	color: var(--ap-navy-900);
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.3;
}

body.ap-inner .page-content p,
body.ap-inner .page-content li {
	font-size: 15.5px;
	line-height: 1.7;
}

body.ap-inner .page-content a {
	color: var(--ap-navy-600);
}

/* Responsive */
@media (max-width: 1024px) {
	.ap-topbar p {
		display: none;
	}

	.ap-topbar .ap-container {
		justify-content: flex-end;
	}

	.ap-menu-toggle {
		display: block;
	}

	.ap-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 20px 18px;
		background: #fff;
		border-top: 1px solid var(--ap-border);
		box-shadow: 0 12px 24px rgba(10, 31, 69, .12);
	}

	.ap-header.is-open .ap-nav {
		display: flex;
	}

	.ap-nav a {
		padding: 13px 4px;
		font-size: 16px;
		border-bottom: 1px solid var(--ap-border);
		border-radius: 0;
	}

	.ap-header__cta {
		margin: 14px 0 0;
		border-bottom: 0 !important;
	}

	.ap-nav a.ap-header__cta {
		padding: 13px 22px;
		border-radius: 2px;
		color: #fff;
	}

	.ap-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.ap-topbar {
		display: none;
	}

	.ap-header__inner {
		min-height: 60px;
	}

	.ap-logo__mark {
		width: 34px;
		height: 34px;
		font-size: 14px;
	}

	.ap-logo__text {
		font-size: 14px;
	}

	.ap-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ap-wa span {
		display: none;
	}

	.ap-wa {
		padding: 13px;
	}

	#cookie-banner .ap-cookie__inner {
		flex-direction: column;
		align-items: stretch;
		text-align: left;
	}

	#cookie-banner {
		left: 10px;
		right: 10px;
		bottom: 10px;
	}

	body.ap-inner .site-main {
		padding-top: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}
