/*
Theme Name: Precision Aviation Theory
Theme URI: https://precisionaviationtheory.com.au/
Author: Precision Aviation Theory
Description: Custom WordPress theme for Precision Aviation Theory.
Version: 1.0.0
Text Domain: precision-aviation-theory
*/

/* ==========================================================================
   PAT Public Website
   ========================================================================== */

:root {
	--pat-navy: #111827;
	--pat-blue: #1e3a5f;
	--pat-blue-dark: #162f4f;
	--pat-text: #172033;
	--pat-muted: #64748b;
	--pat-border: #e2e8f0;
	--pat-background: #f4f6f8;
	--pat-white: #ffffff;
	--pat-max-width: 1240px;
}

* {
	box-sizing: border-box;
}

html {
	margin: 0;
}

body {
	margin: 0;
	background: var(--pat-white);
	color: var(--pat-text);
	font-family:
		Inter,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}


/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.pat-site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	width: 100%;
	border-bottom: 1px solid var(--pat-border);
	background: var(--pat-white);
}

.pat-site-header-inner {
	display: flex;
	align-items: center;
	width: calc(100% - 64px);
	max-width: var(--pat-max-width);
	height: 78px;
	margin: 0 auto;
}

.pat-site-brand {
	flex-shrink: 0;
	color: var(--pat-navy);
	text-decoration: none;
}

.pat-site-brand-name {
	font-size: 18px;
	font-weight: 750;
	letter-spacing: -0.025em;
}

.pat-site-navigation {
	margin-left: auto;
}

.pat-site-menu {
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pat-site-menu a {
	color: #475569;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: color 150ms ease;
}

.pat-site-menu a:hover {
	color: var(--pat-navy);
}

.pat-site-header-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-left: 32px;
}

.pat-site-login,
.pat-site-cart {
	color: #475569;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.pat-site-login:hover,
.pat-site-cart:hover {
	color: var(--pat-navy);
}

.pat-site-portal-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 8px;
	background: var(--pat-blue);
	color: var(--pat-white);
	font-size: 13px;
	font-weight: 650;
	text-decoration: none;
	transition:
		background 150ms ease,
		transform 150ms ease;
}

.pat-site-portal-link:hover {
	transform: translateY(-1px);
	background: var(--pat-blue-dark);
}

@media (max-width: 700px) {

	.pat-site-header-inner {
		padding-right: 16px;
		padding-left: 16px;
	}

	.pat-site-brand-name {
		font-size: 14px;
	}

	.pat-site-header-actions {
		gap: 12px;
	}

	.pat-site-login {
		display: none;
	}

	.pat-site-cart {
		font-size: 13px;
	}

	.pat-site-portal-link {
		padding: 10px 14px;
		font-size: 12px;
	}
}


/* --------------------------------------------------------------------------
   Homepage hero
   -------------------------------------------------------------------------- */

.pat-home-hero {
	display: flex;
	align-items: center;
	min-height: 620px;
	padding: 90px 0 110px;
	background:
		linear-gradient(
			135deg,
			#f8fafc 0%,
			#ffffff 55%,
			#f1f5f9 100%
		);
}

.pat-home-hero-inner {
	width: calc(100% - 64px);
	max-width: var(--pat-max-width);
	margin: 0 auto;
}

.pat-home-hero-content {
	max-width: 790px;
}

.pat-home-kicker {
	margin: 0 0 18px;
	color: var(--pat-blue);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pat-home-hero h1 {
	max-width: 760px;
	margin: 0;
	color: var(--pat-navy);
	font-size: clamp(48px, 6vw, 76px);
	font-weight: 750;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.pat-home-hero-lead {
	max-width: 680px;
	margin: 28px 0 0;
	color: var(--pat-muted);
	font-size: 19px;
	line-height: 1.7;
}

.pat-home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.pat-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 21px;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 650;
	text-decoration: none;
	transition:
		background 150ms ease,
		border-color 150ms ease,
		transform 150ms ease;
}

.pat-button:hover {
	transform: translateY(-1px);
}

.pat-button-primary {
	border: 1px solid var(--pat-blue);
	background: var(--pat-blue);
	color: var(--pat-white);
}

.pat-button-primary:hover {
	border-color: var(--pat-blue-dark);
	background: var(--pat-blue-dark);
}

.pat-button-secondary {
	border: 1px solid #cbd5e1;
	background: var(--pat-white);
	color: #334155;
}

.pat-button-secondary:hover {
	border-color: #94a3b8;
	background: #f8fafc;
}

/* --------------------------------------------------------------------------
   Homepage offerings
   -------------------------------------------------------------------------- */

.pat-home-offerings {
	padding: 96px 0 104px;
	background: #ffffff;
}

.pat-home-section-inner {
	width: calc(100% - 64px);
	max-width: var(--pat-max-width);
	margin: 0 auto;
}

.pat-home-section-heading {
	max-width: 760px;
	margin-bottom: 42px;
}

.pat-home-section-heading h2 {
	margin: 0;
	color: var(--pat-navy);
	font-size: clamp(34px, 4vw, 50px);
	font-weight: 740;
	letter-spacing: -0.04em;
	line-height: 1.08;
}

.pat-home-section-heading > p:last-child {
	max-width: 680px;
	margin: 18px 0 0;
	color: var(--pat-muted);
	font-size: 16px;
	line-height: 1.7;
}

.pat-home-offering-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.pat-home-offering-card {
	position: relative;
	min-height: 260px;
	padding: 30px;
	border: 1px solid var(--pat-border);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition:
		transform 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.pat-home-offering-card:hover {
	transform: translateY(-2px);
	border-color: #cbd5e1;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.pat-home-offering-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 26px;
	border-radius: 10px;
	background: #eef3f8;
	color: var(--pat-blue);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.06em;
}

.pat-home-offering-card h3 {
	margin: 0 0 12px;
	color: var(--pat-navy);
	font-size: 22px;
	font-weight: 680;
	letter-spacing: -0.025em;
}

.pat-home-offering-card p {
	margin: 0;
	color: var(--pat-muted);
	font-size: 14px;
	line-height: 1.7;
}

@media (max-width: 900px) {

	.pat-home-offering-grid {
		grid-template-columns: 1fr;
	}

	.pat-home-offering-card {
		min-height: auto;
	}

	.pat-home-section-inner {
		width: calc(100% - 36px);
	}
}

/* --------------------------------------------------------------------------
   Homepage products
   -------------------------------------------------------------------------- */

.pat-home-products {
	padding: 96px 0 104px;
	background: #f8fafc;
	border-top: 1px solid var(--pat-border);
	border-bottom: 1px solid var(--pat-border);
}

.pat-home-products-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 38px;
}

.pat-home-products-heading .pat-home-section-heading {
	margin-bottom: 0;
}

.pat-home-products-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	margin-bottom: 4px;
	color: var(--pat-blue);
	font-size: 13px;
	font-weight: 650;
	text-decoration: none;
}

.pat-home-products-all:hover {
	color: var(--pat-blue-dark);
}

.pat-home-product-grid {
	display: grid;
	gap: 18px;
}

.pat-home-product-card {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 36px;
	padding: 30px 32px;
	border: 1px solid var(--pat-border);
	border-radius: 16px;
	background: var(--pat-white);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition:
		transform 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.pat-home-product-card:hover {
	transform: translateY(-2px);
	border-color: #cbd5e1;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.pat-home-product-main {
	flex: 1;
	min-width: 0;
}

.pat-home-product-type {
	margin: 0 0 8px;
	color: var(--pat-blue);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.pat-home-product-card h3 {
	margin: 0;
	color: var(--pat-navy);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.pat-home-product-description {
	max-width: 720px;
	margin-top: 12px;
	color: var(--pat-muted);
	font-size: 14px;
	line-height: 1.7;
}

.pat-home-product-description p {
	margin: 0;
}

.pat-home-product-side {
	display: flex;
	flex: 0 0 210px;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

.pat-home-product-price {
	color: var(--pat-navy);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.pat-home-product-price del {
	margin-right: 6px;
	color: #94a3b8;
	font-size: 15px;
	font-weight: 500;
}

.pat-home-product-price ins {
	text-decoration: none;
}

.pat-home-products-empty {
	padding: 28px 30px;
	border: 1px solid var(--pat-border);
	border-radius: 14px;
	background: var(--pat-white);
	color: var(--pat-muted);
	font-size: 14px;
}

.pat-home-products-empty p {
	margin: 0;
}

@media (max-width: 820px) {

	.pat-home-products-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.pat-home-product-card {
		flex-direction: column;
	}

	.pat-home-product-side {
		flex: auto;
		width: 100%;
		align-items: flex-start;
	}

	.pat-home-product-side .pat-button {
		width: auto;
	}
}

/* --------------------------------------------------------------------------
   Built for pilots
   -------------------------------------------------------------------------- */

.pat-home-built {
	padding: 104px 0;
	background: var(--pat-navy);
	color: var(--pat-white);
}

.pat-home-built .pat-home-kicker {
	color: #93c5fd;
}

.pat-home-built-intro {
	max-width: 820px;
}

.pat-home-built-intro h2 {
	margin: 0;
	color: var(--pat-white);
	font-size: clamp(38px, 4.5vw, 58px);
	font-weight: 740;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.pat-home-built-intro > p:last-child {
	max-width: 760px;
	margin: 22px 0 0;
	color: #cbd5e1;
	font-size: 17px;
	line-height: 1.75;
}

.pat-home-built-points {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-top: 56px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pat-home-built-point {
	padding: 28px 24px;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.pat-home-built-point:first-child {
	padding-left: 0;
}

.pat-home-built-point:last-child {
	padding-right: 0;
	border-right: 0;
}

.pat-home-built-point strong {
	display: block;
	margin-bottom: 8px;
	color: var(--pat-white);
	font-size: 15px;
	font-weight: 700;
}

.pat-home-built-point span {
	display: block;
	color: #94a3b8;
	font-size: 13px;
	line-height: 1.65;
}

@media (max-width: 900px) {

	.pat-home-built-points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pat-home-built-point {
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.pat-home-built-point:nth-child(2) {
		border-right: 0;
	}

	.pat-home-built-point:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	.pat-home-built-point:first-child {
		padding-left: 24px;
	}

	.pat-home-built-point:last-child {
		padding-right: 24px;
	}
}

@media (max-width: 600px) {

	.pat-home-built {
		padding: 76px 0;
	}

	.pat-home-built-points {
		grid-template-columns: 1fr;
	}

	.pat-home-built-point,
	.pat-home-built-point:first-child,
	.pat-home-built-point:last-child {
		padding: 22px 0;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.pat-home-built-point:last-child {
		border-bottom: 0;
	}
}

/* --------------------------------------------------------------------------
   Courses & Exams catalogue
   -------------------------------------------------------------------------- */

.pat-catalogue {
	background: #f8fafc;
}

.pat-catalogue-hero {
	padding: 82px 0 54px;
	background: #ffffff;
	border-bottom: 1px solid var(--pat-border);
}

.pat-catalogue-hero h1 {
	max-width: 820px;
	margin: 0;
	color: var(--pat-navy);
	font-size: clamp(38px, 5vw, 58px);
	font-weight: 740;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.pat-catalogue-hero > .pat-home-section-inner > p:last-child {
	max-width: 720px;
	margin: 20px 0 0;
	color: var(--pat-muted);
	font-size: 17px;
	line-height: 1.7;
}

.pat-catalogue-content {
	padding: 72px 0 96px;
}

.pat-catalogue-group {
	margin-bottom: 58px;
}

.pat-catalogue-group:last-child {
	margin-bottom: 0;
}

.pat-catalogue-group-heading {
	margin-bottom: 22px;
}

.pat-catalogue-group-heading h2 {
	margin: 0;
	color: var(--pat-navy);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.pat-catalogue-group-heading p {
	max-width: 700px;
	margin: 10px 0 0;
	color: var(--pat-muted);
	font-size: 14px;
	line-height: 1.7;
}

.pat-catalogue-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.pat-catalogue-card {
	display: flex;
	flex-direction: column;
	min-height: 230px;
	padding: 28px;
	border: 1px solid var(--pat-border);
	border-radius: 16px;
	background: var(--pat-white);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition:
		transform 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.pat-catalogue-card:hover {
	transform: translateY(-2px);
	border-color: #cbd5e1;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.pat-catalogue-card-main {
	flex: 1;
}

.pat-catalogue-card h3 {
	margin: 0;
	color: var(--pat-navy);
	font-size: 22px;
	font-weight: 680;
	letter-spacing: -0.025em;
	line-height: 1.25;
}

.pat-catalogue-card-description {
	margin-top: 12px;
	color: var(--pat-muted);
	font-size: 14px;
	line-height: 1.7;
}

.pat-catalogue-card-description p {
	margin: 0;
}

.pat-catalogue-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #edf0f3;
}

.pat-catalogue-card-price {
	color: var(--pat-navy);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

@media (max-width: 760px) {

	.pat-catalogue-grid {
		grid-template-columns: 1fr;
	}

	.pat-catalogue-hero {
		padding: 64px 0 42px;
	}

	.pat-catalogue-content {
		padding: 54px 0 72px;
	}
}

/* --------------------------------------------------------------------------
   Single product
   -------------------------------------------------------------------------- */

.pat-product {
	background: #f8fafc;
}

.pat-product-hero {
	padding: 72px 0 96px;
	background: #ffffff;
	border-bottom: 1px solid var(--pat-border);
}

.pat-product-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 30px;
	color: var(--pat-muted);
	font-size: 13px;
}

.pat-product-breadcrumb a {
	color: var(--pat-blue);
	text-decoration: none;
}

.pat-product-breadcrumb a:hover {
	color: var(--pat-blue-dark);
}

.pat-product-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	align-items: start;
}

.pat-product-hero-content h1 {
	max-width: 820px;
	margin: 0;
	color: var(--pat-navy);
	font-size: clamp(38px, 5vw, 58px);
	font-weight: 740;
	letter-spacing: -0.045em;
	line-height: 1.06;
}

.pat-product-intro {
	max-width: 720px;
	margin-top: 22px;
	color: var(--pat-muted);
	font-size: 17px;
	line-height: 1.75;
}

.pat-product-intro p {
	margin: 0;
}

.pat-product-purchase {
	padding: 28px;
	border: 1px solid var(--pat-border);
	border-radius: 16px;
	background: #f8fafc;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.pat-product-access-label {
	margin: 0 0 8px;
	color: var(--pat-muted);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pat-product-price {
	margin-bottom: 22px;
	color: var(--pat-navy);
	font-size: 30px;
	font-weight: 740;
	letter-spacing: -0.03em;
}

.pat-product-price del {
	margin-right: 8px;
	color: #94a3b8;
	font-size: 17px;
	font-weight: 500;
}

.pat-product-price ins {
	text-decoration: none;
}

.pat-product-purchase form.cart {
	margin: 0;
}

.pat-product-purchase .single_add_to_cart_button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 9px !important;
	background: var(--pat-blue) !important;
	color: var(--pat-white) !important;
	font-size: 14px !important;
	font-weight: 650 !important;
	line-height: 1 !important;
	cursor: pointer;
	transition:
		background 150ms ease,
		transform 150ms ease;
}

.pat-product-purchase .single_add_to_cart_button:hover {
	transform: translateY(-1px);
	background: var(--pat-blue-dark) !important;
}

@media (max-width: 850px) {

	.pat-product-hero-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.pat-product-purchase {
		max-width: 420px;
	}
}

/* --------------------------------------------------------------------------
   WooCommerce checkout
   -------------------------------------------------------------------------- */

   body.woocommerce-checkout {
	background: #f8fafc;
}

.pat-checkout-account-notice {
	width: min(100% - 48px, 1200px);
	margin: 48px auto 0;
	padding: 20px 22px;
	border: 1px solid var(--pat-border);
	border-left: 4px solid var(--pat-blue);
	border-radius: 10px;
	background: var(--pat-white);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pat-checkout-account-notice strong {
	display: block;
	margin-bottom: 6px;
	color: var(--pat-navy);
	font-size: 15px;
	font-weight: 700;
}

.pat-checkout-account-notice p {
	max-width: 820px;
	margin: 0;
	color: var(--pat-muted);
	font-size: 14px;
	line-height: 1.65;
}

@media (max-width: 900px) {

	.pat-checkout-account-notice {
		width: min(100% - 32px, 1200px);
		margin-top: 32px;
	}
}

body.woocommerce-checkout main,
body.woocommerce-checkout .wp-site-blocks {
	background: #f8fafc;
}

body.woocommerce-checkout .wc-block-checkout {
	width: min(100% - 48px, 1200px);
	margin-right: auto;
	margin-left: auto;
	padding: 64px 0 88px;
}

body.woocommerce-checkout .wc-block-checkout__main {
	padding-right: 48px;
}

body.woocommerce-checkout .wc-block-components-title {
	color: var(--pat-navy);
	font-weight: 700;
	letter-spacing: -0.02em;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox-control input {
	border-color: var(--pat-border) !important;
	border-radius: 8px !important;
	background: var(--pat-white) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	padding: 28px !important;
	border: 1px solid var(--pat-border);
	border-radius: 16px;
	background: var(--pat-white);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

body.woocommerce-checkout .wc-block-components-order-summary {
	padding: 0;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper {
	border-color: var(--pat-border);
}

body.woocommerce-checkout .wc-block-components-radio-control {
	border-color: var(--pat-border);
	border-radius: 10px;
	background: var(--pat-white);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	min-height: 50px;
	border: 0 !important;
	border-radius: 9px !important;
	background: var(--pat-blue) !important;
	color: var(--pat-white) !important;
	font-size: 14px;
	font-weight: 650;
	text-decoration: none !important;
	transition:
		background 150ms ease,
		transform 150ms ease;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	transform: translateY(-1px);
	background: var(--pat-blue-dark) !important;
}

@media (max-width: 900px) {

	body.woocommerce-checkout .wc-block-checkout {
		width: min(100% - 32px, 1200px);
		padding: 42px 0 64px;
	}

	body.woocommerce-checkout .wc-block-checkout__main {
		padding-right: 0;
	}
}

/* --------------------------------------------------------------------------
   WooCommerce order confirmation
   -------------------------------------------------------------------------- */

body.woocommerce-order-received {
	background: #f8fafc;
}

body.woocommerce-order-received main {
	width: min(100% - 48px, 1200px);
	margin: 0 auto;
	padding: 64px 0 88px;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
	display: none;
}

body.woocommerce-order-received .woocommerce-order-overview {
	display: none;
}

.pat-order-confirmation {
	margin-bottom: 36px;
	padding: 32px;
	border: 1px solid var(--pat-border);
	border-radius: 16px;
	background: var(--pat-white);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.pat-order-confirmation-label {
	display: block;
	margin-bottom: 10px;
	color: var(--pat-blue);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pat-order-confirmation h1 {
	margin: 0;
	color: var(--pat-navy);
	font-size: 38px;
	font-weight: 740;
	letter-spacing: -0.04em;
	line-height: 1.08;
}

.pat-order-confirmation p {
	max-width: 680px;
	margin: 14px 0 0;
	color: var(--pat-muted);
	font-size: 16px;
	line-height: 1.7;
}

.pat-order-confirmation-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 24px;
	padding: 0 20px;
	border-radius: 9px;
	background: var(--pat-blue);
	color: var(--pat-white);
	font-size: 14px;
	font-weight: 650;
	text-decoration: none;
	transition:
		background 150ms ease,
		transform 150ms ease;
}

.pat-order-confirmation-button:hover {
	transform: translateY(-1px);
	background: var(--pat-blue-dark);
}

@media (max-width: 900px) {

	body.woocommerce-order-received main {
		width: min(100% - 32px, 1200px);
		padding: 42px 0 64px;
	}

	body.woocommerce-order-received .woocommerce-order-overview {
		grid-template-columns: 1fr 1fr;
	}

	body.woocommerce-order-received .woocommerce-order-overview li {
		border-right: 0;
		border-bottom: 1px solid var(--pat-border);
	}

	body.woocommerce-order-received .woocommerce-order-overview li:last-child {
		grid-column: 1 / -1;
		border-bottom: 0;
	}

	body.woocommerce-order-received
	.woocommerce-order-overview
	.woocommerce-order-overview__email strong {
		white-space: normal;
	}
}
/* --------------------------------------------------------------------------
   WooCommerce cart
   -------------------------------------------------------------------------- */

.pat-cart-heading {
	width: min(100% - 48px, 1200px);
	margin: 0 auto 34px;
	padding-top: 56px;
}

.pat-cart-heading-label {
	display: block;
	margin-bottom: 8px;
	color: var(--pat-blue);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pat-cart-heading h1 {
	margin: 0;
	color: var(--pat-navy);
	font-size: 38px;
	font-weight: 740;
	letter-spacing: -0.04em;
	line-height: 1.08;
}

.pat-cart-heading p {
	margin: 12px 0 0;
	color: var(--pat-muted);
	font-size: 16px;
	line-height: 1.6;
}

body.woocommerce-cart main,
body.woocommerce-cart .wp-site-blocks {
	background: #f8fafc;
}

body.woocommerce-cart .woocommerce {
	width: min(100% - 48px, 1200px);
	margin: 0 auto;
	padding: 64px 0 88px;
}

body.woocommerce-cart .wc-block-cart {
	width: min(100% - 48px, 1200px);
	margin-right: auto;
	margin-left: auto;
}

body.woocommerce-cart .wc-block-cart-items {
	border-collapse: separate;
	border-spacing: 0;
}

body.woocommerce-cart .wc-block-cart-items thead th {
	padding-bottom: 14px;
	color: var(--pat-muted);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.woocommerce-cart .wc-block-cart-items__row {
	background: var(--pat-white);
}

body.woocommerce-cart .wc-block-cart-item__image {
	margin-left: 10px;
	padding: 14px;
	box-sizing: border-box;
}

body.woocommerce-cart .wc-block-cart-item__image img {
	width: 100%;
	height: auto;
	border-radius: 6px;
}

body.woocommerce-cart .wc-block-cart-item__total {
	padding-right: 20px !important;
}

body.woocommerce-cart .wc-block-cart-items thead th:first-child {
	padding-left: 20px !important;
}

body.woocommerce-cart .wc-block-cart-items thead th:last-child {
	padding-right: 20px !important;
}

body.woocommerce-cart .wc-block-cart-item__wrap a {
	color: var(--pat-navy);
	font-weight: 650;
	text-decoration: none;
}

body.woocommerce-cart .wc-block-cart-item__wrap a:hover {
	color: var(--pat-blue);
}

body.woocommerce-cart .wc-block-cart-item__prices {
	color: var(--pat-muted);
}

body.woocommerce-cart .wc-block-cart__sidebar {
	padding: 28px !important;
	border: 1px solid var(--pat-border);
	border-radius: 16px;
	background: var(--pat-white);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

body.woocommerce-cart .wc-block-cart__totals-title {
	color: var(--pat-navy);
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
}

body.woocommerce-cart .wc-block-components-totals-footer-item {
	color: var(--pat-navy);
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 20px;
	font-weight: 700;
}

body.woocommerce-cart .wc-block-cart__submit-button {
	min-height: 50px;
	border-radius: 9px !important;
	background: var(--pat-blue) !important;
	color: var(--pat-white) !important;
	font-size: 14px;
	font-weight: 650;
	text-decoration: none !important;
	transition:
		background 150ms ease,
		transform 150ms ease;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover {
	transform: translateY(-1px);
	background: var(--pat-blue-dark) !important;
}

body.woocommerce-cart .wc-block-components-product-badge {
	border-color: var(--pat-border);
}

@media (max-width: 700px) {

	body.woocommerce-cart .woocommerce {
		width: min(100% - 32px, 1190px);
		padding: 42px 0 64px;
	}

    	.pat-cart-heading {
		width: min(100% - 32px, 1200px);
		padding-top: 90px;
	}

	.pat-cart-heading h1 {
		font-size: 32px;
	}

    body.woocommerce-cart .wc-block-cart__sidebar {
        margin-top: 20px;
    }

    body.woocommerce-cart .wc-block-cart-item__image {
        transform: translateX(10px);
    }
}

/* --------------------------------------------------------------------------
   PAT Portal login
   -------------------------------------------------------------------------- */

.pat-login-page {
	display: flex;
	align-items: center;
	min-height: 620px;
	padding: 72px 0 88px;
	background: #f8fafc;
}

.pat-login-inner {
	width: calc(100% - 48px);
	max-width: 460px;
	margin: 0 auto;
}

.pat-login-heading {
	margin-bottom: 28px;
	text-align: center;
}

.pat-login-heading .pat-home-kicker {
	margin-bottom: 12px;
}

.pat-login-heading h1 {
	margin: 0;
	color: var(--pat-navy);
	font-size: 38px;
	font-weight: 740;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.pat-login-heading p {
	margin: 14px 0 0;
	color: var(--pat-muted);
	font-size: 15px;
	line-height: 1.65;
}

.pat-login-card {
	padding: 32px;
	border: 1px solid var(--pat-border);
	border-radius: 16px;
	background: var(--pat-white);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.pat-login-path-title {
	margin: 0 0 8px;
	color: var(--pat-navy);
	font-size: 21px;
}

.pat-login-card .pat-login-path-intro {
	margin-bottom: 22px;
	color: var(--pat-muted);
	font-size: 14px;
}

.pat-login-card form {
	margin: 0;
}

.pat-login-card p {
	margin: 0 0 20px;
}

.pat-login-card label {
	display: block;
	margin-bottom: 7px;
	color: var(--pat-navy);
	font-size: 13px;
	font-weight: 650;
}

.pat-login-card input[type="text"],
.pat-login-card input[type="email"],
.pat-login-card input[type="password"] {
	width: 100%;
	height: 46px;
	padding: 0 13px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: var(--pat-white);
	color: var(--pat-text);
	font-family: inherit;
	font-size: 15px;
	outline: none;
	transition:
		border-color 150ms ease,
		box-shadow 150ms ease;
}

.pat-login-card input[type="text"]:focus,
.pat-login-card input[type="email"]:focus,
.pat-login-card input[type="password"]:focus {
	border-color: var(--pat-blue);
	box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.pat-login-card .login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #475569;
	font-weight: 500;
	cursor: pointer;
}

.pat-login-card .login-remember input {
	width: 16px;
	height: 16px;
	margin: 0;
}

.pat-login-card .login-submit {
	margin-bottom: 0;
}

.pat-login-card .button-primary {
	width: 100%;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 9px;
	background: var(--pat-blue);
	color: var(--pat-white);
	font-family: inherit;
	font-size: 14px;
	font-weight: 650;
	cursor: pointer;
	transition:
		background 150ms ease,
		transform 150ms ease;
}

.pat-login-card .button-primary:hover {
	transform: translateY(-1px);
	background: var(--pat-blue-dark);
}

.pat-login-links {
	margin-top: 22px;
	text-align: center;
}

.pat-login-links a {
	color: var(--pat-blue);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.pat-login-links a:hover {
	color: var(--pat-blue-dark);
	text-decoration: underline;
}

.pat-login-links span {
	margin: 0 8px;
	color: #cbd5e1;
}

.pat-login-register {
	margin-top: 28px;
	padding-top: 26px;
	border-top: 1px solid var(--pat-border);
	text-align: center;
}

.pat-login-register p {
	color: var(--pat-muted);
	font-size: 14px;
	line-height: 1.6;
}

.pat-login-register-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid var(--pat-blue);
	border-radius: 9px;
	box-sizing: border-box;
	color: var(--pat-blue);
	font-size: 14px;
	font-weight: 650;
	text-decoration: none;
}

.pat-login-register-button:hover {
	background: #f8fafc;
	color: var(--pat-blue-dark);
}

@media (max-width: 560px) {

	.pat-login-page {
		align-items: flex-start;
		min-height: 540px;
		padding: 52px 0 68px;
	}

	.pat-login-inner {
		width: calc(100% - 32px);
	}

	.pat-login-card {
		padding: 24px;
	}

	.pat-login-heading h1 {
		font-size: 32px;
	}
}


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.pat-site-footer {
	padding: 64px 0 26px;
	background: var(--pat-navy);
	color: var(--pat-white);
}

.pat-site-footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 60px;
	width: calc(100% - 64px);
	max-width: var(--pat-max-width);
	margin: 0 auto;
	padding-bottom: 48px;
}

.pat-site-footer-brand {
	max-width: 460px;
}

.pat-site-footer-name {
	display: block;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.pat-site-footer-brand p {
	margin: 14px 0 0;
	color: #94a3b8;
	font-size: 14px;
	line-height: 1.7;
}

.pat-site-footer-navigation {
	width: 100%;
	text-align: center;
}

.pat-site-footer-menu {
	display: flex;
	justify-content: center;
	align-items: center;
    width: 100%;
	gap: 0;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.pat-site-footer-menu li + li::before {
	content: "|";
	margin: 0 14px;
	color: #64748b;
}

.pat-site-footer-menu a {
	color: #cbd5e1;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.pat-site-footer-menu a:hover {
	color: var(--pat-white);
}

.pat-site-footer-bottom {
	width: calc(100% - 64px);
	max-width: var(--pat-max-width);
	margin: 0 auto;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.pat-site-footer-bottom p {
	margin: 0;
	color: #64748b;
	font-size: 12px;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 850px) {

	.pat-site-header-inner {
		width: calc(100% - 36px);
	}

	.pat-site-navigation {
		display: none;
	}

	.pat-site-header-actions {
		margin-left: auto;
	}

	.pat-home-hero {
		min-height: 540px;
		padding: 70px 0 80px;
	}

	.pat-home-hero-inner,
	.pat-site-footer-inner,
	.pat-site-footer-bottom {
		width: calc(100% - 36px);
	}

	.pat-home-hero h1 {
		font-size: clamp(44px, 11vw, 64px);
	}

	.pat-site-footer-inner {
		flex-direction: column;
	}

	.pat-site-footer-menu {
		flex-wrap: wrap;
	}
}

@media (max-width: 560px) {

	.pat-site-header-inner {
		height: 70px;
	}

	.pat-site-brand-name {
		font-size: 15px;
	}

	.pat-site-login {
		display: none;
	}

	.pat-site-header-actions {
		margin-left: auto;
	}

	.pat-site-portal-link {
		min-height: 38px;
		padding: 0 13px;
	}

	.pat-home-hero {
		min-height: auto;
		padding: 68px 0 76px;
	}

	.pat-home-hero-lead {
		font-size: 17px;
	}

	.pat-home-hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.pat-button {
		width: 100%;
	}

	.pat-site-footer {
		padding-top: 48px;
	}
}

/* --------------------------------------------------------------------------
   WooCommerce My Account
   -------------------------------------------------------------------------- */

body.woocommerce-account main {
	width: min(100% - 48px, 1200px);
	margin: 0 auto;
	padding: 64px 0 88px;
}

body.woocommerce-account .pat-account-gateway-intro {
	max-width: 720px;
	margin: 0 auto 38px;
	text-align: center;
}

body.woocommerce-account .pat-account-gateway-intro .pat-home-kicker {
	margin: 0 0 12px;
}

body.woocommerce-account .pat-account-gateway-intro h1 {
	margin: 0;
	color: var(--pat-navy);
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 740;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

body.woocommerce-account .pat-account-gateway-intro > p:last-child {
	max-width: 620px;
	margin: 16px auto 0;
	color: var(--pat-muted);
	font-size: 16px;
	line-height: 1.65;
}

body.woocommerce-account #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	align-items: start;
}

body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after {
	display: none;
}

body.woocommerce-account #customer_login > .u-column1,
body.woocommerce-account #customer_login > .u-column2 {
	float: none;
	width: auto;
	padding: 0;
}

body.woocommerce-account #customer_login > .u-column1 > h2,
body.woocommerce-account #customer_login > .u-column2 > h2 {
	display: none;
}

body.woocommerce-account.pat-registration-only #customer_login {
	grid-template-columns: minmax(0, 600px);
	justify-content: center;
}

body.woocommerce-account.pat-registration-only #customer_login > .u-column1 {
	display: none;
}

body.woocommerce-account.pat-registration-only #customer_login > .u-column2 {
	width: 100%;
}

body.woocommerce-account #customer_login form.login,
body.woocommerce-account #customer_login form.register {
	margin: 0;
	padding: 32px;
	border: 1px solid var(--pat-border);
	border-radius: 16px;
	background: var(--pat-white);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

body.woocommerce-account .pat-account-card-heading {
	margin-bottom: 26px;
}

body.woocommerce-account .pat-account-card-heading h2 {
	margin: 0 0 8px;
	color: var(--pat-navy);
	font-size: 23px;
	font-weight: 700;
	letter-spacing: -0.025em;
}

body.woocommerce-account .pat-account-card-heading p {
	margin: 0;
	color: var(--pat-muted);
	font-size: 14px;
	line-height: 1.55;
}

body.woocommerce-account #customer_login .form-row {
	margin: 0 0 18px;
	padding: 0;
}

body.woocommerce-account #customer_login .form-row label:not(.woocommerce-form-login__rememberme) {
	display: block;
	margin-bottom: 7px;
	color: var(--pat-navy);
	font-size: 13px;
	font-weight: 650;
}

body.woocommerce-account #customer_login input.input-text {
	width: 100%;
	height: 46px;
	padding: 0 13px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
	background: var(--pat-white);
	color: var(--pat-text);
	font-family: inherit;
	font-size: 15px;
	outline: none;
}

body.woocommerce-account #customer_login input.input-text:focus {
	border-color: var(--pat-blue);
	box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

body.woocommerce-account #customer_login form.login > .form-row:not(.form-row-wide) {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
}

body.woocommerce-account #customer_login .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	color: #475569;
	font-size: 13px;
}

body.woocommerce-account #customer_login .woocommerce-form-login__rememberme input {
	width: 16px;
	height: 16px;
	margin: 0;
}

body.woocommerce-account #customer_login button.button {
	width: 100%;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 9px;
	background: var(--pat-blue);
	color: var(--pat-white);
	font-family: inherit;
	font-size: 14px;
	font-weight: 650;
	text-align: center;
}

body.woocommerce-account #customer_login button.button:hover {
	background: var(--pat-blue-dark);
	color: var(--pat-white);
}

body.woocommerce-account #customer_login .lost_password {
	margin: 4px 0 0;
	text-align: center;
}

body.woocommerce-account #customer_login .lost_password a,
body.woocommerce-account #customer_login .woocommerce-privacy-policy-text a {
	color: var(--pat-blue);
}

body.woocommerce-account #customer_login .lost_password a {
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

body.woocommerce-account #customer_login .woocommerce-privacy-policy-text {
	margin: 4px 0 20px;
	color: var(--pat-muted);
	font-size: 12px;
	line-height: 1.6;
}

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
	margin: 0 0 28px;
	padding: 16px 18px 16px 48px;
	border: 1px solid var(--pat-border);
	border-top: 3px solid var(--pat-blue);
	border-radius: 10px;
	background: var(--pat-white);
	box-shadow: none;
	color: var(--pat-text);
	font-size: 14px;
}

body.woocommerce-account .woocommerce-message .button,
body.woocommerce-account .woocommerce-info .button {
	color: var(--pat-blue);
	font-weight: 650;
}

@media (max-width: 820px) {

	body.woocommerce-account #customer_login {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {

	body.woocommerce-account main {
		width: min(100% - 32px, 1200px);
		padding: 48px 0 68px;
	}

	body.woocommerce-account .pat-account-gateway-intro {
		margin-bottom: 30px;
	}

	body.woocommerce-account #customer_login form.login,
	body.woocommerce-account #customer_login form.register {
		padding: 24px 20px;
	}
}
