/* OnCue child theme – styles on top of Kadence. Colours come from the Kadence palette variables. */

:root {
	--oncue-navy: #0d1132;
	--oncue-amber: #ffb627;
	--oncue-soft: #c3c7df;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
.entry-title,
.page-title {
	letter-spacing: 0.2px;
}

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

.site-header .main-navigation .primary-menu-container > ul > li.current-menu-item > a,
.site-header .main-navigation .primary-menu-container > ul > li.current_page_item > a {
	box-shadow: inset 0 -3px 0 var(--oncue-amber);
}

.site-header .header-button {
	font-family: var(--global-heading-font-family);
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* ---------- Page title strip (My account, Checkout, Cart, normal pages) ---------- */

.page-hero-section .entry-hero-container-inner {
	background: var(--global-palette1, #0d1132) !important;
	border: 0 !important;
}

.page-hero-section .hero-section-overlay {
	display: none;
}

.page-hero-section .entry-header {
	min-height: 0 !important;
	padding-block: 22px !important;
	text-align: left !important;
	align-items: flex-start !important;
	justify-content: center;
}

.page-hero-section .entry-title {
	margin: 0 !important;
	color: #ffffff !important;
	font-size: clamp(24px, 3.4vw, 34px) !important;
	line-height: 1.1 !important;
	text-align: left !important;
}

.page-hero-section .kadence-breadcrumbs,
.page-hero-section .kadence-breadcrumbs a {
	color: var(--oncue-soft) !important;
}

@media (max-width: 767px) {
	.page-hero-section .entry-header {
		padding-block: 16px !important;
	}
}

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

.site-footer,
.site-footer .footer-html,
.site-footer .widget {
	color: var(--oncue-soft);
}

.site-footer a {
	color: #ffffff;
}

.site-footer a:hover {
	color: var(--oncue-amber);
}

.site-footer .widget-title,
.site-footer h2,
.site-footer h3 {
	color: #ffffff;
}

/* ---------- Buttons ---------- */

.button,
button.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	font-family: var(--global-heading-font-family);
	font-weight: 600;
	letter-spacing: 0.5px;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid var(--global-palette7, #e3e5ee);
	border-radius: 6px;
	overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--global-palette7, #e3e5ee);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:first-child {
	border-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 14px 18px;
	color: var(--global-palette4, #2b3050);
	font-weight: 500;
	text-decoration: none;
	border-left: 3px solid transparent;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: var(--global-palette8, #f3f4f8);
	color: var(--oncue-navy);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: #fff4d6;
	color: var(--oncue-navy);
	font-weight: 700;
	border-left-color: var(--oncue-amber);
}

/* Orders table as cards on phones */
@media (max-width: 767px) {
	.woocommerce-account .woocommerce-MyAccount-navigation {
		margin-bottom: 20px;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		overflow-x: auto;
		scrollbar-width: none;
		gap: 8px;
		background: transparent;
		border: 0;
		border-radius: 0;
		padding-bottom: 4px;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li,
	.woocommerce-account .woocommerce-MyAccount-navigation li:first-child {
		flex-shrink: 0;
		border: 0;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li a {
		padding: 10px 16px;
		border: 1px solid var(--global-palette7, #e3e5ee);
		border-radius: 999px;
		background: #ffffff;
		font-size: 15px;
		white-space: nowrap;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
		background: var(--oncue-navy);
		border-color: var(--oncue-navy);
		color: #ffffff;
	}

	.woocommerce-account table.shop_table_responsive tr {
		display: block;
		background: var(--global-palette8, #f3f4f8);
		border-radius: 12px;
		padding: 8px 4px;
		margin-bottom: 12px;
	}

	.woocommerce-account table.shop_table_responsive tr td {
		border: 0;
		padding: 6px 14px;
	}

	.woocommerce-account table.shop_table_responsive thead {
		display: none;
	}
}

/* ---------- Focus ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
	outline: 2px solid var(--oncue-amber);
	outline-offset: 2px;
}
