/* ==========================================================================
   JTAC K9 – main stylesheet
   Plain CSS, no build step. Colours/fonts also defined in theme.json.

   1. Tokens          6. Hero              11. Legacy content (Bootstrap 4)
   2. Base            7. Content           12. WooCommerce
   3. Utilities       8. Listings          13. Plugins
   4. Buttons         9. Footer            14. Motion & print
   5. Header & nav   10. Forms
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
	--c-base: #121410;
	--c-deep: #0c0e0a;
	--c-surface: #1c1f19;
	--c-surface-2: #252920;
	--c-line: #363b2f;
	--c-line-strong: #4a5141;
	--c-text: #ebe7da;
	--c-muted: #a9a796;
	--c-ranger: #78866b;
	--c-ranger-deep: #56614a;
	--c-olive: #4b5320;
	--c-khaki: #90876d;
	--c-coyote: #c9b98a;
	--c-signal: #d9772b;
	--c-danger: #e0614f;
	--c-success: #8fae73;

	--f-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-display: "Inter Display", Inter, ui-sans-serif, system-ui, sans-serif;
	--f-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;

	--container: 1240px;
	--measure: 760px;
	--gutter: clamp(1.25rem, 4vw, 2rem);
	--radius: 4px;
	--radius-sm: 2px;
	--header-h: 72px;
	--section: clamp(3rem, 7vw, 5.5rem);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 40px -24px rgba(0, 0, 0, .7);

	color-scheme: dark;
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--c-base);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

.site-content {
	flex: 1 0 auto;
}

img,
video,
svg,
iframe {
	max-width: 100%;
}

img,
video {
	height: auto;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	font-family: var(--f-display);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: .01em;
	text-transform: uppercase;
	text-wrap: balance;
	color: var(--c-text);
}

h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + .8vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.0625rem; }
h6 { font-size: .9375rem; letter-spacing: .08em; }

p,
ul,
ol,
dl,
blockquote,
figure,
table,
pre {
	margin: 0 0 1.25em;
}

p {
	text-wrap: pretty;
}

a {
	color: var(--c-coyote);
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
	transition: color .15s var(--ease);
}

a:hover {
	color: var(--c-text);
}

:focus-visible {
	outline: 2px solid var(--c-coyote);
	outline-offset: 3px;
}

::selection {
	background: var(--c-coyote);
	color: var(--c-base);
}

hr {
	height: 1px;
	margin: 2.5rem 0;
	border: 0;
	background: var(--c-line);
}

strong, b {
	font-weight: 700;
}

small {
	font-size: .875em;
}

code,
kbd,
pre {
	font-family: var(--f-mono);
	font-size: .9em;
}

pre {
	overflow: auto;
	padding: 1rem 1.25rem;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-deep);
}

blockquote {
	margin-inline: 0;
	padding: .25rem 0 .25rem 1.25rem;
	border-left: 3px solid var(--c-ranger);
	font-size: 1.15em;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	padding: .75rem;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
	vertical-align: top;
}

th {
	font-weight: 600;
}

/* 3. Utilities
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text,
.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	top: .75rem;
	left: .75rem;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: .75rem 1rem;
	margin: 0;
	clip: auto;
	background: var(--c-coyote);
	color: var(--c-base);
	font-weight: 700;
	text-decoration: none;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	margin: 0 0 1rem;
	color: var(--c-coyote);
	font-family: var(--f-mono);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 1.75rem;
	height: 1px;
	background: currentColor;
}

.eyebrow a {
	color: inherit;
	text-decoration: none;
}

.lead {
	font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem);
	line-height: 1.55;
	color: var(--c-text);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
}

.link-arrow .icon {
	transition: transform .2s var(--ease);
}

.link-arrow:hover .icon {
	transform: translateX(3px);
}

.icon {
	flex: none;
	vertical-align: middle;
}

/* 4. Buttons (theme, WordPress and WooCommerce share one look)
   ========================================================================== */
.btn,
.wp-element-button,
.wp-block-button__link,
.search-submit,
.comment-form .submit,
.wpcf7-submit {
	--btn-bg: var(--c-coyote);
	--btn-fg: var(--c-base);
	--btn-border: var(--c-coyote);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	min-height: 2.875rem;
	padding: .75rem 1.35rem;
	border: 1px solid var(--btn-border);
	border-radius: var(--radius-sm);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--f-body);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}

.btn:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.search-submit:hover,
.comment-form .submit:hover,
.wpcf7-submit:hover {
	--btn-bg: var(--c-text);
	--btn-border: var(--c-text);
	--btn-fg: var(--c-base);
	color: var(--btn-fg);
}

.btn:active {
	transform: translateY(1px);
}

.btn .icon {
	transition: transform .2s var(--ease);
}

.btn:hover .icon {
	transform: translateX(3px);
}

.btn-ghost,
.btn-outline-primary,
.btn-secondary,
.is-style-outline > .wp-block-button__link {
	--btn-bg: transparent;
	--btn-fg: var(--c-text);
	--btn-border: var(--c-line-strong);
}

.btn-ghost:hover,
.btn-outline-primary:hover,
.btn-secondary:hover,
.is-style-outline > .wp-block-button__link:hover {
	--btn-bg: var(--c-text);
	--btn-fg: var(--c-base);
	--btn-border: var(--c-text);
}

.btn-success {
	--btn-bg: var(--c-ranger);
	--btn-border: var(--c-ranger);
	--btn-fg: #fff;
}

.btn-lg {
	min-height: 3.25rem;
	padding: .9rem 1.6rem;
	font-size: .875rem;
}

.btn-block {
	display: flex;
	width: 100%;
}

/* 5. Header & navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--c-line);
	background: rgba(18, 20, 16, .88);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: var(--header-h);
}

.site-branding {
	margin-right: auto;
}

.site-title {
	margin: 0;
	font-family: var(--f-display);
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1;
	text-transform: uppercase;
}

.site-title a {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	color: var(--c-text);
	text-decoration: none;
}

.site-title .icon {
	color: var(--c-coyote);
	transition: transform .5s var(--ease);
}

.site-title a:hover .icon {
	transform: rotate(90deg);
}

.custom-logo-link {
	display: block;
}

.custom-logo {
	display: block;
	width: auto;
	max-height: 48px;
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: .25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav .menu > li {
	position: relative;
	display: flex;
	align-items: center;
}

.primary-nav .menu a {
	display: block;
	padding: .6rem .8rem;
	color: var(--c-muted);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-nav .menu a:hover,
.primary-nav .menu .current-menu-item > a,
.primary-nav .menu .current-menu-ancestor > a,
.primary-nav .menu .current_page_item > a {
	color: var(--c-text);
}

.primary-nav .menu > .current-menu-item > a,
.primary-nav .menu > .current-menu-ancestor > a,
.primary-nav .menu > .current_page_item > a {
	box-shadow: inset 0 -2px 0 var(--c-coyote);
}

.primary-nav .menu .is-header-icon-duplicate {
	display: none;
}

.submenu-toggle {
	display: inline-grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	margin-left: -.55rem;
	padding: 0;
	border: 0;
	border-radius: var(--radius-sm);
	background: none;
	color: var(--c-muted);
	cursor: pointer;
}

.submenu-toggle:hover {
	color: var(--c-text);
}

.submenu-toggle .icon {
	transition: transform .2s var(--ease);
}

.submenu-toggle[aria-expanded="true"] .icon {
	transform: rotate(180deg);
}

.primary-nav .sub-menu {
	margin: 0;
	padding: .5rem 0;
	list-style: none;
}

.nav-toggle {
	display: none;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: .25rem;
}

.header-cart,
.header-account,
.nav-toggle {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: var(--radius-sm);
	background: none;
	color: var(--c-text);
	cursor: pointer;
	transition: background-color .15s var(--ease);
}

.header-cart:hover,
.header-account:hover,
.nav-toggle:hover {
	background: var(--c-surface-2);
	color: var(--c-text);
}

.header-cart-count {
	position: absolute;
	top: .3rem;
	right: .2rem;
	display: grid;
	place-items: center;
	min-width: 1.15rem;
	height: 1.15rem;
	padding: 0 .3rem;
	border-radius: 999px;
	background: var(--c-coyote);
	color: var(--c-base);
	font-family: var(--f-mono);
	font-size: .6875rem;
	font-weight: 700;
	line-height: 1;
}

.header-cart-count[data-count="0"] {
	display: none;
}

/* Desktop dropdowns */
@media (min-width: 900px) {
	.nav-toggle {
		display: none;
	}

	.primary-nav .sub-menu {
		position: absolute;
		top: calc(100% + .5rem);
		left: 0;
		z-index: 10;
		min-width: 15rem;
		border: 1px solid var(--c-line);
		border-radius: var(--radius);
		background: var(--c-surface);
		box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .8);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-4px);
		transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s linear .16s;
	}

	.primary-nav .sub-menu::before {
		content: "";
		position: absolute;
		inset: -.6rem 0 auto;
		height: .6rem;
	}

	.primary-nav .menu > li:hover > .sub-menu,
	.primary-nav .menu > li:focus-within > .sub-menu,
	.primary-nav .menu > li.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}

	.primary-nav .sub-menu a {
		padding: .55rem 1.1rem;
		font-size: .8125rem;
		letter-spacing: .06em;
	}

	.primary-nav .sub-menu a:hover {
		background: var(--c-surface-2);
	}
}

/* Mobile menu */
@media (max-width: 899.98px) {
	.site-header__inner {
		gap: .5rem;
	}

	.primary-nav {
		order: 3;
	}

	.nav-toggle {
		display: inline-grid;
	}

	.nav-toggle .icon-close,
	.nav-toggle[aria-expanded="true"] .icon-menu {
		display: none;
	}

	.nav-toggle[aria-expanded="true"] .icon-close {
		display: block;
	}

	.primary-menu-wrap {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		max-height: calc(100dvh - var(--header-h));
		overflow-y: auto;
		padding: .75rem var(--gutter) 1.5rem;
		border-bottom: 1px solid var(--c-line);
		background: var(--c-base);
		box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .8);
		display: none;
	}

	.primary-nav.is-open .primary-menu-wrap {
		display: block;
		animation: jtac-drop .2s var(--ease);
	}

	.primary-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.primary-nav .menu > li {
		flex-wrap: wrap;
		border-bottom: 1px solid var(--c-line);
	}

	.primary-nav .menu > li > a {
		flex: 1;
		padding: 1rem 0;
		font-size: .9375rem;
	}

	.primary-nav .menu > .current-menu-item > a,
	.primary-nav .menu > .current-menu-ancestor > a,
	.primary-nav .menu > .current_page_item > a {
		box-shadow: none;
		color: var(--c-coyote);
	}

	.submenu-toggle {
		width: 2.75rem;
		height: 2.75rem;
		margin: 0;
	}

	.primary-nav .sub-menu {
		display: none;
		flex-basis: 100%;
		padding: 0 0 .75rem 1rem;
		border-left: 1px solid var(--c-line-strong);
	}

	.primary-nav li.is-open > .sub-menu {
		display: block;
	}

	.primary-nav .sub-menu a {
		padding: .55rem .25rem;
		letter-spacing: .06em;
	}
}

@keyframes jtac-drop {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
}

/* 6. Hero
   ========================================================================== */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: min(88vh, 860px);
	min-height: min(calc(100svh - var(--header-h)), 860px);
	overflow: hidden;
	isolation: isolate;
	background: var(--c-deep);
}

.hero__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(12, 14, 10, .92) 0%, rgba(12, 14, 10, .7) 38%, rgba(12, 14, 10, .15) 75%),
		linear-gradient(0deg, rgba(12, 14, 10, .95) 0%, rgba(12, 14, 10, 0) 45%);
}

/* Faint grid, like a map overlay. */
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(235, 231, 218, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(235, 231, 218, .045) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
	mask-image: linear-gradient(90deg, #000, transparent 70%);
	pointer-events: none;
}

.hero__inner {
	padding-block: clamp(4rem, 12vh, 8rem) clamp(2.5rem, 6vh, 4rem);
}

.hero__title {
	max-width: 12ch;
	margin: 0 0 1.5rem;
	font-size: clamp(3.5rem, 1rem + 11vw, 9.5rem);
	line-height: .86;
	letter-spacing: -.01em;
}

.hero__text {
	max-width: 34rem;
	margin-bottom: 2.25rem;
	color: var(--c-text);
	font-size: clamp(1.125rem, 1rem + .6vw, 1.4rem);
	line-height: 1.45;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.hero .btn-ghost {
	--btn-border: rgba(235, 231, 218, .45);
	background: rgba(12, 14, 10, .35);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.hero .btn-ghost:hover {
	background: var(--c-text);
}

.hero__points {
	border-top: 1px solid rgba(235, 231, 218, .14);
	background: rgba(12, 14, 10, .6);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.hero__points ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	margin: 0 auto;
	list-style: none;
}

.hero__points li {
	display: flex;
	align-items: baseline;
	gap: .9rem;
	padding: 1.1rem 0;
	color: var(--c-text);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.hero__points li + li {
	border-left: 1px solid rgba(235, 231, 218, .14);
	padding-left: 1.5rem;
}

.hero__points-index {
	color: var(--c-coyote);
	font-family: var(--f-mono);
	font-size: .75rem;
	font-weight: 500;
}

@media (max-width: 640px) {
	.hero__points li + li {
		border-left: 0;
		border-top: 1px solid rgba(235, 231, 218, .1);
		padding-left: 0;
	}

	.hero__points li {
		padding: .8rem 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.hero__image {
		animation: jtac-zoom 14s var(--ease) both;
	}

	.hero__inner > * {
		animation: jtac-rise .8s var(--ease) both;
	}

	.hero__inner > :nth-child(2) { animation-delay: .08s; }
	.hero__inner > :nth-child(3) { animation-delay: .16s; }
	.hero__inner > :nth-child(4) { animation-delay: .24s; }
}

@keyframes jtac-zoom {
	from {
		transform: scale(1.06);
	}
}

@keyframes jtac-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
}

/* 7. Content
   ========================================================================== */
.site-main {
	padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section);
}

.has-hero .site-main {
	padding-top: var(--section);
}

.entry-header,
.page-header {
	max-width: var(--measure);
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.entry-header .eyebrow,
.page-header .eyebrow {
	justify-content: center;
}

.entry-header .eyebrow::after,
.page-header .eyebrow::after {
	content: "";
	width: 1.75rem;
	height: 1px;
	background: currentColor;
}

.entry-title,
.page-title {
	margin-bottom: 0;
}

.page-description {
	margin-top: 1rem;
	color: var(--c-muted);
}

.page-header .search-form {
	margin-top: 1.5rem;
}

.entry-thumbnail {
	max-width: var(--measure);
	margin: 0 auto 2.5rem;
}

.entry-thumbnail.alignwide {
	max-width: 100%;
}

.entry-thumbnail img {
	display: block;
	width: 100%;
	border-radius: var(--radius);
}

/* Reading width for text; wide/legacy layouts and shop pages use the full container. */
.entry-content > * {
	max-width: var(--measure);
	margin-inline: auto;
}

.entry-content > :where(
	.alignwide,
	.alignfull,
	.container,
	.row,
	.section,
	.card,
	.jumbotron,
	.woocommerce,
	.wc-block-grid,
	.wp-block-woocommerce-cart,
	.wp-block-woocommerce-checkout,
	.wp-block-columns,
	.wp-block-cover,
	.wp-block-gallery,
	.wp-block-media-text,
	.wp-block-table,
	.wp-block-embed,
	.wp-block-video,
	.instagram-gallery-feed,
	.ig-feed,
	[class*="wp-block-woocommerce"]
),
.layout-full .entry-content > * {
	max-width: none;
}

.entry-content > .alignwide {
	max-width: calc(var(--container) - 2 * var(--gutter));
}

.entry-content > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content > :where(h1, h2, h3, h4) {
	margin-top: 2em;
}

.entry-content > :where(h1, h2, h3, h4):first-child {
	margin-top: 0;
}

.entry-content > h1 {
	font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.25rem;
}

.entry-content li + li {
	margin-top: .35em;
}

.entry-content li::marker {
	color: var(--c-coyote);
}

.alignleft {
	float: left;
	margin: .3rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: .3rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.entry-content img {
	border-radius: var(--radius-sm);
}

.wp-caption-text,
.wp-element-caption,
figcaption {
	margin-top: .6rem;
	color: var(--c-muted);
	font-size: .875rem;
	text-align: center;
}

.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--c-line);
}

/* The 2020 home page set a near-black inline colour on separators. */
.entry-content .wp-block-separator.has-background {
	height: 1px;
	margin-block: var(--section) !important;
	border: 0;
	background: var(--c-line) !important;
	opacity: 1;
}

.wp-block-cover {
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-content > .wp-block-cover {
	min-height: clamp(320px, 50vw, 560px);
	margin-block: var(--section);
}

.wp-block-cover .has-large-font-size {
	font-family: var(--f-display);
	font-size: clamp(2rem, 1.2rem + 4vw, 4rem) !important;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .01em;
	text-transform: uppercase;
}

.wp-block-cover.has-background-dim::before,
.wp-block-cover .has-background-dim:not([class*="-background-color"]) {
	background-color: var(--c-deep);
}

.wp-block-quote {
	border-left-color: var(--c-ranger);
}

.wp-block-pullquote {
	border-block: 2px solid var(--c-line);
}

.wp-block-table td,
.wp-block-table th {
	border-color: var(--c-line);
}

.wp-block-gallery figure img,
.blocks-gallery-item img {
	border-radius: var(--radius-sm);
}

.entry-footer {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	max-width: var(--measure);
	margin: 3rem auto 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--c-line);
	color: var(--c-muted);
	font-size: .875rem;
}

.layout-full .entry-footer {
	max-width: none;
}

.entry-footer:empty {
	display: none;
}

.edit-link a {
	font-family: var(--f-mono);
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.page-links {
	margin-top: 2rem;
	font-weight: 600;
}

.single-post .entry-meta a {
	color: inherit;
	text-decoration: none;
}

/* 8. Listings, sidebar, comments, search
   ========================================================================== */
.layout {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 1000px) {
	.layout--sidebar {
		grid-template-columns: minmax(0, 1fr) 18rem;
	}
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
	gap: 1.5rem;
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-surface);
	transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.post-card:hover {
	border-color: var(--c-line-strong);
	transform: translateY(-2px);
}

.post-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5rem;
}

.post-card__body .eyebrow {
	margin-bottom: .75rem;
}

.post-card__title {
	font-size: 1.375rem;
}

.post-card__title a {
	color: var(--c-text);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--c-coyote);
}

.post-card__excerpt {
	flex: 1;
	color: var(--c-muted);
	font-size: .9375rem;
}

.post-card .link-arrow {
	margin-top: .5rem;
}

.pagination,
.navigation.post-navigation,
.comment-navigation {
	margin-top: 3rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .4rem;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 .75rem;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	color: var(--c-text);
	font-family: var(--f-mono);
	font-size: .875rem;
	text-decoration: none;
}

.pagination .page-numbers:hover {
	border-color: var(--c-coyote);
}

.pagination .page-numbers.current {
	border-color: var(--c-coyote);
	background: var(--c-coyote);
	color: var(--c-base);
}

.post-navigation {
	max-width: var(--measure);
	margin-inline: auto;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1rem;
}

.post-navigation a {
	display: block;
	height: 100%;
	padding: 1.25rem;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	color: var(--c-text);
	text-decoration: none;
}

.post-navigation a:hover {
	border-color: var(--c-coyote);
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation .nav-label {
	display: block;
	margin-bottom: .35rem;
	color: var(--c-coyote);
	font-family: var(--f-mono);
	font-size: .75rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.post-navigation .nav-title {
	font-weight: 600;
}

.widget {
	margin-bottom: 2.5rem;
	font-size: .9375rem;
}

.widget-title {
	margin-bottom: 1rem;
	padding-bottom: .75rem;
	border-bottom: 1px solid var(--c-line);
	font-size: .875rem;
	letter-spacing: .14em;
}

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

.widget li {
	padding: .35rem 0;
}

.search-form {
	display: flex;
	gap: .5rem;
	max-width: 32rem;
	margin-inline: auto;
}

.search-form .search-field {
	flex: 1;
}

.search-submit {
	min-width: 2.875rem;
	padding-inline: .9rem;
}

.error-404 {
	max-width: 40rem;
	margin: clamp(2rem, 8vh, 5rem) auto;
	text-align: center;
}

.error-404 .eyebrow {
	justify-content: center;
}

.error-404 .search-form {
	margin-block: 2rem;
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
}

.no-results {
	padding: 3rem 0;
	text-align: center;
}

.comments-area {
	max-width: var(--measure);
	margin: 4rem auto 0;
	padding-top: 2.5rem;
	border-top: 1px solid var(--c-line);
}

.comments-title {
	font-size: 1.5rem;
}

.comment-list {
	margin: 0 0 3rem;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	padding-left: clamp(1rem, 4vw, 2.5rem);
	list-style: none;
}

.comment-body {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--c-line);
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1rem;
	margin-bottom: .75rem;
	font-size: .875rem;
}

.comment-author .avatar {
	float: left;
	margin-right: .75rem;
	border-radius: 50%;
}

.comment-metadata a {
	color: var(--c-muted);
	text-decoration: none;
}

.reply a {
	font-size: .8125rem;
	font-weight: 600;
}

/* 9. Footer
   ========================================================================== */
.site-footer {
	margin-top: auto;
	border-top: 1px solid var(--c-line);
	background: var(--c-deep);
	color: var(--c-muted);
	font-size: .9375rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: 2.5rem;
	padding-block: clamp(3rem, 6vw, 4.5rem);
}

@media (min-width: 900px) {
	.site-footer__grid {
		grid-template-columns: 1.6fr repeat(auto-fit, minmax(11rem, 1fr));
	}
}

.footer-col--brand {
	max-width: 24rem;
}

.site-title--footer {
	margin-bottom: 1.25rem;
}

.footer-about {
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

.footer-heading {
	margin-bottom: 1.25rem;
	color: var(--c-coyote);
	font-family: var(--f-mono);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .18em;
}

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

.footer-menu li + li {
	margin-top: .65rem;
}

.site-footer a {
	color: var(--c-text);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--c-coyote);
}

.footer-menu a {
	color: var(--c-muted);
}

.social-links {
	display: flex;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-links a {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	color: var(--c-text);
	transition: border-color .15s var(--ease), color .15s var(--ease);
}

.social-links a:hover {
	border-color: var(--c-coyote);
	color: var(--c-coyote);
}

.site-footer__bar {
	border-top: 1px solid var(--c-line);
	font-size: .8125rem;
}

.site-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1.5rem;
	padding-block: 1.25rem;
}

.site-footer__bar p {
	margin: 0;
}

.legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.legal-links a {
	color: var(--c-muted);
}

.back-to-top {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-left: auto;
	font-family: var(--f-mono);
	font-size: .75rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* 10. Forms (core, Contact Form 7, WooCommerce)
   ========================================================================== */
input:where([type="text"], [type="email"], [type="url"], [type="password"], [type="search"], [type="tel"], [type="number"], [type="date"]),
textarea,
select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
	width: 100%;
	min-height: 2.875rem;
	padding: .65rem .85rem;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius-sm);
	background-color: var(--c-deep);
	color: var(--c-text);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}

textarea {
	min-height: 9rem;
	resize: vertical;
}

select {
	padding-right: 2.5rem;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9b98a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-position: right .85rem center;
	background-repeat: no-repeat;
}

input::placeholder,
textarea::placeholder {
	color: #7c7b6d;
}

input:where([type="text"], [type="email"], [type="url"], [type="password"], [type="search"], [type="tel"], [type="number"], [type="date"]):focus,
textarea:focus,
select:focus {
	border-color: var(--c-coyote);
	outline: none;
	box-shadow: 0 0 0 3px rgba(201, 185, 138, .25);
}

input[type="checkbox"],
input[type="radio"] {
	width: 1.1rem;
	height: 1.1rem;
	margin-right: .4rem;
	vertical-align: -.15em;
	accent-color: var(--c-coyote);
}

label {
	display: inline-block;
	margin-bottom: .35rem;
	font-size: .9375rem;
	font-weight: 600;
}

fieldset {
	margin: 0 0 1.5rem;
	padding: 1.25rem;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}

legend {
	padding: 0 .5rem;
	font-weight: 700;
}

.wpcf7 form p {
	margin-bottom: 1.25rem;
}

.wpcf7 .wpcf7-not-valid-tip {
	margin-top: .35rem;
	color: var(--c-danger);
	font-size: .875rem;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1.5rem 0 0;
	padding: .9rem 1rem;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius-sm);
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--c-success);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: var(--c-danger);
}

.wpcf7-spinner {
	background-color: var(--c-coyote);
}

.grecaptcha-badge {
	visibility: hidden;
}

/* 11. Legacy content
   Classes from Bootstrap 4 used inside existing page content (home, contact…).
   Kept small: only what the site's content uses, restyled for the new look.
   ========================================================================== */
.entry-content .container {
	max-width: none;
	padding-inline: 0;
}

.row {
	--row-gap: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	margin-inline: calc(var(--row-gap) / -2);
}

.row > * {
	flex: 0 0 auto;
	width: 100%;
	max-width: 100%;
	padding-inline: calc(var(--row-gap) / 2);
}

.row > .col {
	flex: 1 0 0%;
}

center {
	display: block;
	text-align: center;
}

.has-text-align-center { text-align: center; }
.has-text-align-left { text-align: left; }
.has-text-align-right { text-align: right; }

.text-center { text-align: center !important; }
.text-left,
.text-start { text-align: left !important; }
.text-right,
.text-end { text-align: right !important; }
.text-white { color: #fff !important; }
.text-muted { color: var(--c-muted) !important; }
.text-uppercase { text-transform: uppercase !important; }
.font-weight-bold,
.fw-bold { font-weight: 700 !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
.align-items-end { align-items: flex-end !important; }
.h-100 { height: 100% !important; }
.w-100 { width: 100% !important; }
.img-fluid { max-width: 100%; height: auto; }
.rounded { border-radius: var(--radius) !important; }
.shadow,
.box-shadow { box-shadow: var(--shadow); }

.bg-dark { background-color: var(--c-surface) !important; }
.bg-light { background-color: var(--c-text) !important; color: var(--c-base); }
.bg-primary { background-color: var(--c-khaki) !important; }
.bg-secondary { background-color: var(--c-surface-2) !important; }
.bg-success { background-color: var(--c-ranger-deep) !important; }

.display-1,
.display-2,
.display-3,
.display-4 {
	font-family: var(--f-display);
	font-weight: 800;
	line-height: .95;
	text-transform: uppercase;
}

.display-1 { font-size: clamp(3.5rem, 2rem + 6vw, 6rem); }
.display-2 { font-size: clamp(3rem, 1.8rem + 5vw, 5.5rem); }
.display-3 { font-size: clamp(2.75rem, 1.6rem + 4vw, 4.5rem); }
.display-4 { font-size: clamp(2.5rem, 1.5rem + 3.5vw, 3.75rem); }

/* Cards */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-surface);
	color: var(--c-text);
	word-wrap: break-word;
}

.row > * > .card {
	transition: border-color .2s var(--ease), transform .25s var(--ease);
}

.row > * > .card:hover {
	border-color: var(--c-line-strong);
}

.card-img-top {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0 !important;
	transition: transform .6s var(--ease);
}

.card:hover .card-img-top {
	transform: scale(1.03);
}

.card-header {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 1.25rem 1.5rem .25rem;
	background: var(--c-surface);
}

.card-header.lead {
	font-family: var(--f-display);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.05;
	text-transform: uppercase;
}

.card-body {
	flex: 1 1 auto;
	padding: 1rem 1.5rem 1.25rem;
}

.card-text {
	color: var(--c-muted);
}

.card-text:last-child {
	margin-bottom: 0;
}

.card-footer {
	padding: 0 1.5rem 1.5rem;
	background: transparent;
}

.card-footer .btn {
	width: 100%;
}

.card-body > .d-flex:empty {
	display: none !important;
}

/* The highlighted "handmade products made" counter on the home page */
.card.bg-success {
	border-color: transparent;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .06), transparent 60%),
		var(--c-ranger-deep) !important;
}

.card.bg-success .card-header,
.card.bg-success .card-footer {
	background: transparent;
}

.card.bg-success .card-header {
	padding-top: 2rem;
	font-family: var(--f-mono);
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .2em;
}

.card.bg-success .card-footer {
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, .15);
	font-family: var(--f-mono);
	font-size: .8125rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.counter-box h1,
.counter-box .counter {
	margin: 0;
	font-family: var(--f-display);
	font-size: clamp(4rem, 2rem + 9vw, 8.5rem);
	font-variant-numeric: tabular-nums;
	line-height: .9;
	letter-spacing: -.02em;
}

.counter-box p {
	margin: .5rem 0 0;
	font-family: var(--f-mono);
	font-size: .8125rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	opacity: .8;
}

/* Jumbotron (About us block) */
.jumbotron {
	margin-block: var(--section);
	padding: clamp(2rem, 6vw, 4.5rem);
	border-radius: var(--radius);
	background-color: var(--c-surface);
	/* Darken any inline brand colour so body text stays readable. */
	box-shadow: inset 0 0 0 100vmax rgba(12, 14, 10, .45);
	color: var(--c-text);
}

.jumbotron > h1 {
	font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
}

.jumbotron > p:not(.lead) {
	max-width: 46rem;
	color: rgba(235, 231, 218, .88);
}

.jumbotron .lead:empty {
	display: none;
}

/* "Contact us" section with round icons */
.entry-content > .section > .card {
	padding-block: clamp(1rem, 3vw, 2rem);
}

.entry-content .social-fa.fa {
	display: inline-grid;
	place-items: center;
	width: 4.5rem;
	height: 4.5rem;
	padding: 0;
	border: 1px solid var(--c-line-strong);
	border-radius: 50%;
	background: var(--c-surface-2);
	color: var(--c-coyote);
	font-size: 1.6rem;
	transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.entry-content [onclick] {
	cursor: pointer;
}

.entry-content [onclick]:hover .social-fa.fa {
	border-color: var(--c-coyote);
	background: var(--c-surface);
	opacity: 1;
}

.entry-content [onclick] .lead {
	margin-top: 1rem;
	font-size: 1rem;
	font-weight: 600;
}

.entry-content > br {
	display: none;
}

/* Grid columns + spacing utilities are generated below. */

.row > .col-1 { width: 8.3333%; }
.row > .col-2 { width: 16.6667%; }
.row > .col-3 { width: 25%; }
.row > .col-4 { width: 33.3333%; }
.row > .col-5 { width: 41.6667%; }
.row > .col-6 { width: 50%; }
.row > .col-7 { width: 58.3333%; }
.row > .col-8 { width: 66.6667%; }
.row > .col-9 { width: 75%; }
.row > .col-10 { width: 83.3333%; }
.row > .col-11 { width: 91.6667%; }
.row > .col-12 { width: 100%; }
@media (min-width: 576px) {
	.row > .col-sm-1 { width: 8.3333%; }
	.row > .col-sm-2 { width: 16.6667%; }
	.row > .col-sm-3 { width: 25%; }
	.row > .col-sm-4 { width: 33.3333%; }
	.row > .col-sm-5 { width: 41.6667%; }
	.row > .col-sm-6 { width: 50%; }
	.row > .col-sm-7 { width: 58.3333%; }
	.row > .col-sm-8 { width: 66.6667%; }
	.row > .col-sm-9 { width: 75%; }
	.row > .col-sm-10 { width: 83.3333%; }
	.row > .col-sm-11 { width: 91.6667%; }
	.row > .col-sm-12 { width: 100%; }
	.row > .col-sm { flex: 1 0 0%; }
}
@media (min-width: 768px) {
	.row > .col-md-1 { width: 8.3333%; }
	.row > .col-md-2 { width: 16.6667%; }
	.row > .col-md-3 { width: 25%; }
	.row > .col-md-4 { width: 33.3333%; }
	.row > .col-md-5 { width: 41.6667%; }
	.row > .col-md-6 { width: 50%; }
	.row > .col-md-7 { width: 58.3333%; }
	.row > .col-md-8 { width: 66.6667%; }
	.row > .col-md-9 { width: 75%; }
	.row > .col-md-10 { width: 83.3333%; }
	.row > .col-md-11 { width: 91.6667%; }
	.row > .col-md-12 { width: 100%; }
	.row > .col-md { flex: 1 0 0%; }
}
@media (min-width: 992px) {
	.row > .col-lg-1 { width: 8.3333%; }
	.row > .col-lg-2 { width: 16.6667%; }
	.row > .col-lg-3 { width: 25%; }
	.row > .col-lg-4 { width: 33.3333%; }
	.row > .col-lg-5 { width: 41.6667%; }
	.row > .col-lg-6 { width: 50%; }
	.row > .col-lg-7 { width: 58.3333%; }
	.row > .col-lg-8 { width: 66.6667%; }
	.row > .col-lg-9 { width: 75%; }
	.row > .col-lg-10 { width: 83.3333%; }
	.row > .col-lg-11 { width: 91.6667%; }
	.row > .col-lg-12 { width: 100%; }
	.row > .col-lg { flex: 1 0 0%; }
}
@media (min-width: 1200px) {
	.row > .col-xl-1 { width: 8.3333%; }
	.row > .col-xl-2 { width: 16.6667%; }
	.row > .col-xl-3 { width: 25%; }
	.row > .col-xl-4 { width: 33.3333%; }
	.row > .col-xl-5 { width: 41.6667%; }
	.row > .col-xl-6 { width: 50%; }
	.row > .col-xl-7 { width: 58.3333%; }
	.row > .col-xl-8 { width: 66.6667%; }
	.row > .col-xl-9 { width: 75%; }
	.row > .col-xl-10 { width: 83.3333%; }
	.row > .col-xl-11 { width: 91.6667%; }
	.row > .col-xl-12 { width: 100%; }
	.row > .col-xl { flex: 1 0 0%; }
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.p-0 { padding: 0 !important; }
.mt-1 { margin-top: .25rem !important; }
.mb-1 { margin-bottom: .25rem !important; }
.my-1 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
.pt-1 { padding-top: .25rem !important; }
.pb-1 { padding-bottom: .25rem !important; }
.py-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.p-1 { padding: .25rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.my-2 { margin-top: .5rem !important; margin-bottom: .5rem !important; }
.pt-2 { padding-top: .5rem !important; }
.pb-2 { padding-bottom: .5rem !important; }
.py-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.p-2 { padding: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.p-3 { padding: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.p-4 { padding: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.p-5 { padding: 3rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }


/* 12. WooCommerce
   WooCommerce's own stylesheets still load (layout + defaults); this section
   re-themes them. WooCommerce exposes CSS variables for most colours.
   ========================================================================== */
:root {
	--wc-primary: var(--c-coyote);
	--wc-primary-text: var(--c-base);
	--wc-secondary: var(--c-surface-2);
	--wc-secondary-text: var(--c-text);
	--wc-highlight: var(--c-coyote);
	--wc-highligh-text: var(--c-base);
	--wc-content-bg: var(--c-base);
	--wc-subtext: var(--c-muted);
	--wc-red: var(--c-danger);
	--wc-green: var(--c-success);
	--wc-blue: var(--c-khaki);
	--wc-form-border-color: var(--c-line-strong);
	--wc-form-border-radius: var(--radius-sm);
	--wc-form-border-width: 1px;
	--wc-form-color-background: var(--c-deep);
	--wc-form-color-text: var(--c-text);
}

.shop-main .page-title,
.woocommerce-products-header__title {
	margin-bottom: 1rem;
	text-align: left;
}

.woocommerce-products-header {
	margin-bottom: 1.5rem;
}

.term-description,
.woocommerce-products-header .page-description {
	max-width: 46rem;
	color: var(--c-muted);
}

.woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 1.5rem;
	color: var(--c-muted);
	font-family: var(--f-mono);
	font-size: .75rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb a {
	color: var(--c-muted);
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	color: var(--c-coyote);
}

.woocommerce-breadcrumb .sep {
	margin: 0 .6em;
	opacity: .5;
}

.woocommerce .woocommerce-result-count {
	margin: .6rem 0 1.5rem;
	color: var(--c-muted);
	font-size: .875rem;
}

.woocommerce .woocommerce-ordering {
	margin-bottom: 1.5rem;
}

.woocommerce .woocommerce-ordering select {
	width: auto;
	min-width: 14rem;
}

/* Product grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	clear: both;
	margin: 0 0 2rem;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-surface);
	transition: border-color .2s var(--ease), transform .25s var(--ease);
}

.woocommerce ul.products li.product:hover {
	border-color: var(--c-line-strong);
	transform: translateY(-3px);
}

/* Reticle corners on hover */
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after {
	content: "";
	position: absolute;
	z-index: 2;
	width: 14px;
	height: 14px;
	border-color: var(--c-coyote);
	border-style: solid;
	opacity: 0;
	transition: opacity .2s var(--ease), transform .25s var(--ease);
	pointer-events: none;
}

.woocommerce ul.products li.product::before {
	top: 10px;
	left: 10px;
	border-width: 2px 0 0 2px;
	transform: translate(4px, 4px);
}

.woocommerce ul.products li.product::after {
	top: 10px;
	right: 10px;
	border-width: 2px 2px 0 0;
	transform: translate(-4px, 4px);
}

.woocommerce ul.products li.product:hover::before,
.woocommerce ul.products li.product:hover::after {
	opacity: 1;
	transform: none;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
	display: flex;
	flex: 1;
	flex-direction: column;
	color: var(--c-text);
	text-decoration: none;
}

.woocommerce ul.products li.product a img {
	width: 100%;
	margin: 0;
	aspect-ratio: 1;
	object-fit: cover;
	background: var(--c-surface-2);
	transition: transform .6s var(--ease);
}

.woocommerce ul.products li.product:hover a img {
	transform: scale(1.04);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title {
	position: relative;
	margin: 0;
	padding: 1rem 1.1rem .35rem;
	background: var(--c-surface);
	font-family: var(--f-body);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.35;
	text-transform: none;
}

.woocommerce ul.products li.product .price {
	display: block;
	margin: 0;
	padding: 0 1.1rem 1rem;
	color: var(--c-coyote);
	font-family: var(--f-mono);
	font-size: .9375rem;
	font-weight: 500;
}

.woocommerce ul.products li.product .price del {
	color: var(--c-muted);
	opacity: .8;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
}

.woocommerce ul.products li.product .star-rating {
	margin: 0 1.1rem .5rem;
	font-size: .8rem;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add-to-cart-container {
	margin: auto 1.1rem 1.1rem;
}

.woocommerce ul.products li.product .add-to-cart-container .button {
	margin: 0;
}

.woocommerce ul.products li.product .button {
	display: flex;
	width: auto;
}

.woocommerce ul.products li.product .added_to_cart {
	display: block;
	margin: -.5rem 1.1rem 1rem;
	font-size: .8125rem;
	text-align: center;
}

.woocommerce mark.count {
	background: none;
	color: var(--c-muted);
}

.woocommerce span.onsale {
	top: .9rem;
	left: .9rem;
	right: auto;
	z-index: 3;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: .35rem .6rem;
	border-radius: var(--radius-sm);
	background: var(--c-signal);
	color: #fff;
	font-family: var(--f-mono);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1;
	text-transform: uppercase;
}

.woocommerce ul.products li.product .onsale {
	margin: 0;
	top: .9rem;
	left: .9rem;
	right: auto;
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .wc-block-components-button:not(.is-link),
.wc-block-grid__product-add-to-cart .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 2.875rem;
	padding: .75rem 1.35rem;
	border: 1px solid var(--c-coyote);
	border-radius: var(--radius-sm);
	background: var(--c-coyote);
	color: var(--c-base);
	font-family: var(--f-body);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .wc-block-components-button:not(.is-link):hover,
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
	border-color: var(--c-text);
	background: var(--c-text);
	color: var(--c-base);
}

/* Secondary buttons in product loops: outlined */
.woocommerce ul.products li.product .button,
.woocommerce .cart .actions > .button,
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info .button {
	border-color: var(--c-line-strong);
	background: transparent;
	color: var(--c-text);
}

.woocommerce ul.products li.product .button:hover {
	border-color: var(--c-coyote);
	background: var(--c-coyote);
	color: var(--c-base);
}

.woocommerce a.button.loading::after,
.woocommerce button.button.loading::after {
	top: auto;
	right: .75rem;
}

.woocommerce a.button.added::after {
	margin-left: .4rem;
}

.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt.disabled {
	border-color: var(--c-line-strong);
	background: var(--c-surface-2);
	color: var(--c-muted);
	opacity: .7;
}

/* Notices
   Prefixed with .woocommerce / .entry-content so the general list styles used in
   page content (padding, markers) can't push the text under the icon. */
:is(.woocommerce, .entry-content, .site-main) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews),
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments,
.wc-block-components-notice-banner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1rem;
	max-width: none;
	margin: 0 0 2rem;
	padding: 1rem 1.25rem 1rem 3.25rem;
	border: 1px solid var(--c-line);
	border-left: 3px solid var(--c-coyote);
	border-radius: var(--radius-sm);
	background: var(--c-surface);
	color: var(--c-text);
	line-height: 1.5;
	list-style: none;
}

p.no-comments,
.woocommerce-noreviews {
	padding-left: 1.25rem;
}

:is(.woocommerce-message, .woocommerce-info, .woocommerce-error) li {
	flex-basis: 100%;
	margin: 0;
	padding: 0;
}

:is(.woocommerce-message, .woocommerce-info, .woocommerce-error) li::marker {
	content: none;
}

.woocommerce-message::after,
.woocommerce-info::after,
.woocommerce-error::after {
	display: none;
}

/* Icon lines up with the first line of text, however long the message is. */
:is(.woocommerce, .entry-content, .site-main) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before,
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	position: absolute;
	top: 1.1rem;
	left: 1.15rem;
	margin: 0;
	transform: none;
	color: var(--c-coyote);
	font-size: 1rem;
	line-height: 1;
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	margin-left: auto;
	float: none !important;
}

:is(.woocommerce, .entry-content, .site-main) .woocommerce-error,
.woocommerce-error,
.wc-block-components-notice-banner.is-error {
	border-left-color: var(--c-danger);
}

:is(.woocommerce, .entry-content, .site-main) .woocommerce-error::before,
.woocommerce-error::before {
	color: var(--c-danger);
}

:is(.woocommerce, .entry-content, .site-main) .woocommerce-message,
.woocommerce-message,
.wc-block-components-notice-banner.is-success {
	border-left-color: var(--c-success);
}

:is(.woocommerce, .entry-content, .site-main) .woocommerce-message::before,
.woocommerce-message::before {
	color: var(--c-success);
}

/* Newer WooCommerce notices draw the icon as an inline SVG instead. */
.wc-block-components-notice-banner {
	padding-left: 1.25rem;
	flex-wrap: nowrap;
	align-items: flex-start;
}

.wc-block-components-notice-banner > svg {
	flex: none;
	margin-top: .1rem;
	border-radius: 50%;
	background-color: var(--c-coyote);
	fill: var(--c-base);
}

.wc-block-components-notice-banner.is-error > svg {
	background-color: var(--c-danger);
}

.wc-block-components-notice-banner.is-success > svg {
	background-color: var(--c-success);
}

.woocommerce-store-notice,
p.demo_store {
	background: var(--c-olive);
	color: var(--c-text);
}

/* Single product */
.woocommerce div.product {
	margin-bottom: 2rem;
}

.woocommerce div.product div.images {
	margin-bottom: 2.5rem;
}

.woocommerce div.product div.images img {
	border-radius: var(--radius);
}

.woocommerce div.product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: .6rem;
	margin-top: .6rem;
}

.woocommerce div.product div.images .flex-control-thumbs li {
	width: auto;
	float: none;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	opacity: .6;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
	border-color: var(--c-coyote);
	opacity: 1;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	background: var(--c-text);
}

/* Gallery + summary side by side; tabs, related products etc. span the full width below. */
@media (min-width: 769px) {
	.woocommerce div.product {
		display: grid;
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		column-gap: clamp(2rem, 5vw, 4rem);
		align-items: start;
	}

	.woocommerce div.product::before,
	.woocommerce div.product::after {
		display: none;
	}

	.woocommerce div.product > * {
		grid-column: 1 / -1;
	}

	.woocommerce div.product > div.images,
	.woocommerce div.product > .woocommerce-product-gallery {
		grid-column: 1;
		width: auto;
		float: none;
	}

	.woocommerce div.product > div.summary {
		grid-column: 2;
		width: auto;
		float: none;
	}
}

.woocommerce div.product .product_title {
	margin-bottom: 1rem;
	font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	margin-bottom: 1.5rem;
	color: var(--c-coyote);
	font-family: var(--f-mono);
	font-size: 1.375rem;
	font-weight: 500;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
	text-decoration: none;
}

.woocommerce-product-details__short-description {
	margin-bottom: 1.5rem;
	color: var(--c-muted);
}

.woocommerce div.product form.cart {
	margin-bottom: 2rem;
	padding: 1.5rem;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-surface);
}

.woocommerce div.product form.cart .variations {
	margin-bottom: 1rem;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
	display: block;
	padding: 0;
	border: 0;
	line-height: 1.4;
}

.woocommerce div.product form.cart .variations th.label {
	padding-bottom: .4rem;
}

.woocommerce div.product form.cart .variations td.value {
	padding-bottom: 1.1rem;
}

.woocommerce div.product form.cart .variations select {
	min-width: 0;
	width: 100%;
	margin-right: 0;
}

.woocommerce div.product form.cart .reset_variations {
	display: inline-block;
	margin-top: .5rem;
	font-size: .8125rem;
}

.woocommerce div.product form.cart div.quantity {
	margin-right: .6rem;
}

.woocommerce div.product form.cart .button {
	min-height: 2.875rem;
}

.woocommerce .quantity .qty {
	width: 4.5rem;
	min-height: 2.875rem;
	padding: .5rem;
	text-align: center;
}

.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price {
	margin-bottom: 1rem;
}

.woocommerce div.product .product_meta {
	color: var(--c-muted);
	font-size: .875rem;
}

.woocommerce div.product .product_meta > span {
	display: block;
	margin-bottom: .25rem;
}

.woocommerce div.product .woocommerce-tabs {
	clear: both;
	padding-top: 2rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem;
	margin: 0 0 2rem;
	padding: 0;
	border-bottom: 1px solid var(--c-line);
	list-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: .85rem 1rem;
	color: var(--c-muted);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: none;
	box-shadow: inset 0 -2px 0 var(--c-coyote);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--c-text);
}

.woocommerce div.product .woocommerce-tabs .panel {
	max-width: var(--measure);
}

.woocommerce div.product .woocommerce-tabs .panel > h2:first-child {
	font-size: 1.5rem;
}

.woocommerce table.shop_attributes {
	border-top-color: var(--c-line);
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	border-bottom-color: var(--c-line);
	background: transparent !important;
}

.woocommerce .related > h2,
.woocommerce .upsells > h2,
.woocommerce .cross-sells > h2 {
	margin-bottom: 1.5rem;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
}

.woocommerce section.related {
	clear: both;
	padding-top: var(--section);
}

.woocommerce .star-rating,
.woocommerce p.stars a {
	color: var(--c-coyote);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border-color: var(--c-line);
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
	border-color: var(--c-line);
	background: var(--c-surface);
}

/* Cart & checkout */
.woocommerce table.shop_table {
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	border-collapse: separate;
	background: var(--c-surface);
}

.woocommerce table.shop_table th {
	color: var(--c-muted);
	font-family: var(--f-mono);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th,
.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
	border-top-color: var(--c-line);
	padding: 1rem;
}

.woocommerce table.shop_table td.product-name a {
	color: var(--c-text);
	font-weight: 600;
	text-decoration: none;
}

.woocommerce table.cart img,
.woocommerce-page table.cart img {
	width: 72px;
	border-radius: var(--radius-sm);
}

.woocommerce a.remove {
	color: var(--c-danger) !important;
}

.woocommerce a.remove:hover {
	background: var(--c-danger);
	color: #fff !important;
}

.woocommerce table.cart td.actions .coupon .input-text {
	width: 12rem;
	min-height: 2.875rem;
	margin-right: .5rem;
	padding: .65rem .85rem;
	border: 1px solid var(--c-line-strong);
	background: var(--c-deep);
	color: var(--c-text);
}

/* Basket actions: coupon field + button joined into one control,
   "Update cart" as a quiet outline button that wakes up when quantities change. */
.woocommerce table.cart td.actions,
.woocommerce-page table.cart td.actions {
	padding: 1.25rem;
	background: var(--c-surface);
}

.woocommerce table.cart td.actions .coupon,
.woocommerce-page table.cart td.actions .coupon {
	display: flex;
	float: left;
	width: min(100%, 26rem);
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce-page table.cart td.actions .coupon .input-text,
.woocommerce table.cart td.actions .coupon #coupon_code {
	flex: 1 1 0;
	float: none;
	width: 0; /* lets the field shrink so the basket table never overflows on phones */
	min-width: 0;
	min-height: 2.875rem;
	margin: 0;
	padding: .65rem .85rem;
	border: 1px solid var(--c-line-strong);
	border-right: 0;
	border-radius: var(--radius-sm) 0 0 var(--radius-sm);
	background: var(--c-deep);
	color: var(--c-text);
	font-size: 1rem;
}

.woocommerce table.cart td.actions .coupon .input-text:focus,
.woocommerce table.cart td.actions .coupon #coupon_code:focus {
	border-color: var(--c-coyote);
	outline: none;
	box-shadow: none;
}

.woocommerce table.cart td.actions .coupon .button,
.woocommerce-page table.cart td.actions .coupon .button,
.woocommerce table.cart td.actions .coupon .input-text + .button,
.woocommerce-page table.cart td.actions .coupon .input-text + .button {
	display: inline-flex;
	flex: none;
	float: none;
	width: auto;
	margin: 0;
	padding-inline: 1.1rem;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	white-space: nowrap;
}

.woocommerce table.cart td.actions > .button,
.woocommerce-page table.cart td.actions > .button,
.woocommerce table.cart td.actions > button[name="update_cart"] {
	display: inline-flex;
	float: right;
	width: auto;
	margin: 0;
	border: 1px solid var(--c-coyote);
	background: transparent;
	color: var(--c-coyote);
	opacity: 1;
}

.woocommerce table.cart td.actions > .button:hover:not(:disabled),
.woocommerce-page table.cart td.actions > .button:hover:not(:disabled) {
	background: var(--c-coyote);
	color: var(--c-base);
}

.woocommerce table.cart td.actions > .button:disabled,
.woocommerce table.cart td.actions > .button[disabled],
.woocommerce-page table.cart td.actions > .button:disabled,
.woocommerce-page table.cart td.actions > .button[disabled] {
	border-color: var(--c-line);
	background: transparent;
	color: var(--c-muted);
	opacity: .55;
	cursor: default;
}

@media (max-width: 768px) {
	.woocommerce table.cart td.actions,
	.woocommerce-page table.cart td.actions {
		display: flex;
		flex-direction: column;
		gap: .75rem;
	}

	.woocommerce table.cart td.actions::before,
	.woocommerce-page table.cart td.actions::before {
		display: none;
	}

	.woocommerce table.cart td.actions .coupon,
	.woocommerce-page table.cart td.actions .coupon {
		float: none;
		width: 100%;
	}

	.woocommerce table.cart td.actions > .button,
	.woocommerce-page table.cart td.actions > .button {
		display: flex;
		float: none;
		width: 100%;
		min-height: 2.75rem;
	}
}

/* PW Gift Cards "Have a gift card?" form: same joined field + button as the coupon. */
:where(div, p, form):has(> #pwgc-redeem-gift-card-number) {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
	max-width: 30rem;
	margin: 0 0 1.5rem;
}

:where(div, p, form):has(> #pwgc-redeem-gift-card-number) > * {
	flex-basis: 100%;
}

:where(div, p, form):has(> #pwgc-redeem-gift-card-number) > label {
	margin-bottom: .5rem;
}

#pwgc-redeem-error:empty {
	display: none;
}

#pwgc-redeem-error {
	margin-bottom: .5rem;
	color: var(--c-danger) !important;
	font-size: .875rem;
}

.site-main input#pwgc-redeem-gift-card-number {
	flex: 1 1 0;
	width: 0;
	min-width: 0;
	min-height: 2.875rem;
	margin: 0;
	border-right: 0;
	border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.site-main #pwgc-redeem-gift-card-number ~ .button,
.site-main #pwgc-redeem-gift-card-number ~ button {
	flex: none;
	width: auto;
	min-height: 2.875rem;
	margin: 0;
	padding-inline: 1.25rem;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	white-space: nowrap;
}

/* Cart totals: no bright dividers, rows aligned with the heading. */
.site-main .woocommerce .cart-collaterals .cart_totals tr td,
.site-main .woocommerce .cart-collaterals .cart_totals tr th,
.woocommerce-page .site-main .cart-collaterals .cart_totals tr td,
.woocommerce-page .site-main .cart-collaterals .cart_totals tr th {
	padding: .9rem 0;
	border-top: 1px solid var(--c-line);
	border-bottom: 0;
	background: transparent;
}

.site-main .woocommerce .cart-collaterals .cart_totals tr:first-child td,
.site-main .woocommerce .cart-collaterals .cart_totals tr:first-child th,
.woocommerce-page .site-main .cart-collaterals .cart_totals tr:first-child td,
.woocommerce-page .site-main .cart-collaterals .cart_totals tr:first-child th {
	border-top: 0;
}

.woocommerce .cart-collaterals .cart_totals table.shop_table_responsive tr td::before {
	color: var(--c-text);
}

.woocommerce .cart-collaterals .cart_totals .order-total td,
.woocommerce .cart-collaterals .cart_totals .order-total th {
	font-size: 1.125rem;
}

.woocommerce .cart-collaterals .cart_totals .order-total .amount {
	color: var(--c-coyote);
}

.woocommerce ul#shipping_method li {
	margin: 0 0 .5rem;
	line-height: 1.45;
}

.woocommerce ul#shipping_method li input {
	margin: .15rem .5rem 0 0;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
	padding: 1.5rem;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-surface);
}

.woocommerce .cart-collaterals .cart_totals h2 {
	font-size: 1.5rem;
}

.woocommerce .cart-collaterals .cart_totals table.shop_table {
	border: 0;
	background: transparent;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
	width: 100%;
	font-size: .9375rem;
}

.woocommerce form .form-row {
	margin-bottom: 1rem;
	padding: 0;
}

.woocommerce form .form-row label {
	line-height: 1.5;
}

.woocommerce form .form-row .required {
	color: var(--c-signal);
	text-decoration: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	min-height: 2.875rem;
	padding: .65rem .85rem;
	line-height: 1.4;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
	border-color: var(--c-danger);
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password {
	margin: 0 0 2rem;
	padding: 1.5rem;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-surface);
}

.woocommerce-checkout h3,
.woocommerce-account h2,
.woocommerce-account h3 {
	font-size: 1.375rem;
}

.woocommerce-checkout #order_review_heading {
	margin-top: 2rem;
}

.woocommerce-checkout #payment,
#add_payment_method #payment,
.woocommerce-cart #payment {
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-surface);
}

.woocommerce-checkout #payment ul.payment_methods {
	border-bottom-color: var(--c-line);
}

.woocommerce-checkout #payment div.payment_box {
	background: var(--c-surface-2);
	color: var(--c-text);
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--c-surface-2);
}

.woocommerce-checkout #payment div.form-row {
	padding: 1.25rem;
}

.woocommerce-checkout #payment #place_order {
	width: 100%;
	min-height: 3.25rem;
	font-size: .9375rem;
}

.woocommerce-terms-and-conditions-wrapper {
	font-size: .875rem;
}

.woocommerce-privacy-policy-text {
	color: var(--c-muted);
}

/* Select2 (country / state fields) */
.select2-container--default .select2-selection--single {
	display: flex;
	align-items: center;
	height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0;
	color: var(--c-text);
	line-height: 1.4;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 50%;
	right: .5rem;
	transform: translateY(-50%);
}

.select2-dropdown {
	border-color: var(--c-line-strong);
	background: var(--c-surface);
	color: var(--c-text);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	border-color: var(--c-line-strong);
	background: var(--c-deep);
	color: var(--c-text);
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--c-coyote);
	color: var(--c-base);
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] {
	background: var(--c-surface-2);
}

/* My account */
.woocommerce-account .woocommerce {
	display: grid;
	gap: 2rem;
}

@media (min-width: 900px) {
	.woocommerce-account.logged-in .woocommerce {
		grid-template-columns: 15rem minmax(0, 1fr);
		align-items: start;
	}

	.woocommerce-account .woocommerce > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	width: auto;
	float: none;
}

.woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-surface);
	list-style: none;
	overflow: hidden;
}

.woocommerce-MyAccount-navigation li + li {
	border-top: 1px solid var(--c-line);
}

.woocommerce-MyAccount-navigation a {
	display: block;
	padding: .8rem 1.1rem;
	color: var(--c-muted);
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
	background: var(--c-surface-2);
	color: var(--c-text);
	box-shadow: inset 3px 0 0 var(--c-coyote);
}

.woocommerce-account .col2-set,
.woocommerce-checkout .col2-set {
	width: 100%;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
	max-width: none;
}

.woocommerce-Address {
	padding: 1.25rem;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}

.woocommerce-Address-title h2,
.woocommerce-Address-title h3 {
	font-size: 1.125rem;
}

/* Product blocks (used on the "New shop" page) */
.wc-block-grid__products {
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 0 !important;
}

.wc-block-grid.has-4-columns .wc-block-grid__product,
.wc-block-grid.has-3-columns .wc-block-grid__product {
	padding: 0 0 1.1rem;
	border: 1px solid var(--c-line) !important;
	border-radius: var(--radius);
	background: var(--c-surface);
	overflow: hidden;
}

.wc-block-grid__product {
	margin: 0 !important;
	border: 0;
	text-align: left;
}

.wc-block-grid__product-link {
	color: var(--c-text);
	text-decoration: none;
}

.wc-block-grid__product-image {
	margin-bottom: .9rem !important;
}

.wc-block-grid__product-image img {
	aspect-ratio: 1;
	object-fit: cover;
}

.wc-block-grid__product-title,
.wc-block-grid__product-price,
.wc-block-grid__product-add-to-cart {
	padding-inline: 1.1rem;
}

.wc-block-grid__product-title {
	font-family: var(--f-body);
	font-size: 1rem !important;
	font-weight: 600;
	text-transform: none;
}

.wc-block-grid__product-price {
	color: var(--c-coyote);
	font-family: var(--f-mono);
}

/* Cart / checkout blocks, if used */
.wc-block-components-text-input input,
.wc-block-components-text-input input[type],
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea {
	border-color: var(--c-line-strong) !important;
	background-color: var(--c-deep) !important;
	color: var(--c-text) !important;
}

.wc-block-components-text-input label,
.wc-block-components-combobox .wc-block-components-combobox-control label,
.wc-blocks-components-select .wc-blocks-components-select__label {
	color: var(--c-muted) !important;
}

.wc-block-components-totals-wrapper,
.wc-block-components-panel,
.wc-block-cart-items,
.wc-block-cart-items td,
.wc-block-cart-items th {
	border-color: var(--c-line) !important;
}

/* 13. Plugins
   ========================================================================== */

/* Embedded third-party frames (PayPal buttons, reCAPTCHA, maps) are light pages.
   Matching their colour scheme lets them stay transparent instead of being
   painted with a solid white background on this dark theme. */
iframe {
	color-scheme: light;
}

/* PPOM (product add-on options) loads Bootstrap 4 on product pages, which
   brings white inputs and dark table text. Bring them in line with the theme. */
.form-control,
.ppom-wrapper .form-control,
.ppom-wrapper input[type="text"],
.ppom-wrapper input[type="number"],
.ppom-wrapper input[type="email"],
.ppom-wrapper textarea,
.ppom-wrapper select {
	width: 100%;
	min-height: 2.875rem;
	height: auto;
	padding: .65rem .85rem;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius-sm);
	background-color: var(--c-deep);
	color: var(--c-text);
	font-size: 1rem;
	box-shadow: none;
}

.form-control:focus,
.ppom-wrapper .form-control:focus {
	border-color: var(--c-coyote);
	background-color: var(--c-deep);
	color: var(--c-text);
	box-shadow: 0 0 0 3px rgba(201, 185, 138, .25);
}

.form-control::placeholder {
	color: #7c7b6d;
	opacity: 1;
}

.ppom-wrapper,
.ppom-wrapper label,
.ppom-wrapper .form-control-label,
.ppom-wrapper .form-check-label {
	color: var(--c-text);
}

.ppom-wrapper .show_description,
.ppom-wrapper .ppom-input-desc,
.ppom-wrapper small,
.ppom-wrapper .description {
	color: var(--c-muted);
}

.ppom-wrapper .show_required,
.ppom-wrapper .required {
	color: var(--c-signal);
}

.table,
.ppom-wrapper table,
.ppom-price-container table,
#ppom-price-container table,
div.product .summary table:not(.variations) {
	width: 100%;
	margin-bottom: 1.25rem;
	background: transparent;
	color: var(--c-text);
}

.table th,
.table td,
.ppom-wrapper table th,
.ppom-wrapper table td,
#ppom-price-container th,
#ppom-price-container td,
div.product .summary table:not(.variations) th,
div.product .summary table:not(.variations) td {
	padding: .75rem .5rem;
	border-top: 1px solid var(--c-line);
	border-bottom: 0;
	background: transparent;
	color: var(--c-text);
	font-size: .9375rem;
	vertical-align: middle;
}

.table thead th,
.table tr:first-child td,
#ppom-price-container tr:first-child td {
	border-top: 1px solid var(--c-line-strong);
}

#ppom-price-container .ppom-price-total td,
#ppom-price-container tr:last-child td,
.ppom-wrapper tr:last-child td {
	font-weight: 700;
}

#ppom-price-container .amount,
.ppom-wrapper .amount {
	color: var(--c-coyote);
	font-family: var(--f-mono);
}


/* Simple Banner – match the theme instead of the plugin's default blue. */
#simple-banner {
	background: var(--c-olive) !important;
	border-bottom: 1px solid rgba(0, 0, 0, .25);
	font-family: var(--f-mono);
	font-size: .8125rem;
	letter-spacing: .06em;
}

#simple-banner .simple-banner-text,
#simple-banner .simple-banner-text span,
#simple-banner .simple-banner-text a {
	color: var(--c-text) !important;
}

/* Instagram Feed: hide token/connection errors from visitors (admins still see them). */
body:not(.logged-in) .instagram-gallery__alert {
	display: none;
}

/* Built-in Instagram feed: [jtac_instagram]
   ========================================================================== */
.ig-feed {
	margin-block: 2rem var(--section);
}

.ig-feed__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.ig-feed__handle {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	color: var(--c-text);
	font-family: var(--f-mono);
	font-size: .9375rem;
	letter-spacing: .06em;
	text-decoration: none;
}

.ig-feed__handle .icon {
	color: var(--c-coyote);
}

.ig-feed__handle:hover {
	color: var(--c-coyote);
}

.ig-feed .ig-feed__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(.4rem, 1vw, .75rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.ig-feed .ig-feed__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1000px) {
	.ig-feed .ig-feed__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.ig-feed .ig-feed__grid > li {
	margin: 0;
	padding: 0;
}

.ig-feed .ig-feed__grid > li::marker {
	content: none;
}

.ig-tile {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--radius-sm);
	background: var(--c-surface-2);
	color: var(--c-text);
	text-decoration: none;
}

.ig-tile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform .6s var(--ease), filter .3s var(--ease);
}

.ig-tile__type {
	position: absolute;
	top: .6rem;
	right: .6rem;
	z-index: 2;
	display: grid;
	place-items: center;
	color: #fff;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6));
}

.ig-tile__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: .75rem;
	padding: clamp(.75rem, 2vw, 1.1rem);
	background: linear-gradient(0deg, rgba(12, 14, 10, .94) 0%, rgba(12, 14, 10, .72) 55%, rgba(12, 14, 10, .25) 100%);
	opacity: 0;
	transition: opacity .25s var(--ease);
}

.ig-tile__caption {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	font-size: .875rem;
	line-height: 1.45;
	transform: translateY(6px);
	transition: transform .3s var(--ease);
}

.ig-tile__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem 1rem;
	padding-top: .6rem;
	border-top: 1px solid rgba(235, 231, 218, .18);
	color: var(--c-coyote);
	font-family: var(--f-mono);
	font-size: .75rem;
	letter-spacing: .06em;
}

.ig-tile__meta span {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
}

.ig-tile__meta time {
	margin-left: auto;
	color: var(--c-muted);
}

/* Reticle corners, as on product cards */
.ig-tile::before,
.ig-tile::after {
	content: "";
	position: absolute;
	z-index: 2;
	width: 14px;
	height: 14px;
	border-color: var(--c-coyote);
	border-style: solid;
	opacity: 0;
	transition: opacity .2s var(--ease), transform .25s var(--ease);
	pointer-events: none;
}

.ig-tile::before {
	top: 10px;
	left: 10px;
	border-width: 2px 0 0 2px;
	transform: translate(4px, 4px);
}

.ig-tile::after {
	right: 10px;
	bottom: 10px;
	border-width: 0 2px 2px 0;
	transform: translate(-4px, -4px);
}

@media (hover: hover) {
	.ig-tile:hover .ig-tile__overlay {
		opacity: 1;
	}

	.ig-tile:hover .ig-tile__caption {
		transform: none;
	}

	.ig-tile:hover img {
		transform: scale(1.05);
	}

	.ig-tile:hover::before,
	.ig-tile:hover::after {
		opacity: 1;
		transform: none;
	}
}

.ig-tile:focus-visible {
	outline-offset: 2px;
}

.ig-tile:focus-visible .ig-tile__overlay {
	opacity: 1;
}

.ig-tile:focus-visible .ig-tile__caption {
	transform: none;
}

/* Small phone tiles are too small for captions: show just likes/comments. */
@media (max-width: 639px) {
	.ig-tile__caption {
		display: none;
	}
}

/* 14. Motion & print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.hero__points,
	.nav-toggle,
	.woocommerce-breadcrumb {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}
