/*
 * Stride — the bits Tailwind utilities do not cover.
 *
 * 1. Ports of the original assets/css/styles.css
 * 2. Baseline styling for WooCommerce markup the theme does not template
 *    (prices, notices, quantity inputs, variations, tabs, reviews, cart and
 *    checkout), since WooCommerce's own stylesheets are dequeued.
 * 3. A small prose style for post and page content.
 *
 * Colours come from the CSS variables printed by inc/enqueue.php, so the
 * Customizer's brand colours apply here too.
 */

:root {
	--stride-brand: #1d4ed8;
	--stride-brand-dark: #1e40af;
	--stride-brand-tint: #eff6ff;
	--stride-brand-soft: #dbeafe;
	--stride-ink: #0b0b0f;
	--stride-paper: #fafaf9;
	--stride-line: #e7e5e4;
	--stride-muted: #78716c;
}

/* ---------------------------------------------------------------------
 * 1. Original site extras
 * ------------------------------------------------------------------ */

html {
	scroll-behavior: smooth;
	font-family: Inter, system-ui, sans-serif;
}

body {
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: Montserrat, system-ui, sans-serif;
}

/* ---------------------------------------------------------------------
 * Delivery-site components (ported from the original assets/site.css)
 * ------------------------------------------------------------------ */

/* Reserve icon space so a late icon font cannot shift layout. */
.material-symbols-outlined {
	font-family: "Material Symbols Outlined";
	font-weight: normal;
	font-style: normal;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: "liga";
	-webkit-font-smoothing: antialiased;
}

.icon-fill {
	font-variation-settings: "FILL" 1;
}

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

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

.glass-dark {
	background: rgba(27, 33, 39, 0.78);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-light {
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(39, 48, 57, 0.08);
}

/* Photo frames fall back to a styled gradient if an image fails to load. */
.photo-frame {
	background: linear-gradient(135deg, #22303f 0%, var(--stride-ink) 55%, #92400e 150%);
}

.photo-frame > img.img-failed {
	display: none;
}

/* Hazard stripe accent. */
.stripe-accent {
	background-image: repeating-linear-gradient(135deg, var(--stride-brand) 0 14px, var(--stride-ink) 14px 28px);
}

/* Map-style panel: faint grid, route lines and a glow behind the pin. */
.map-panel {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 25% 25%, 25% 25%;
}

.map-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(120% 70% at 50% 42%, rgba(37, 99, 235, 0.22) 0%, transparent 60%),
		linear-gradient(115deg, transparent 48%, rgba(96, 165, 250, 0.16) 49%, transparent 50%),
		linear-gradient(72deg, transparent 63%, rgba(96, 165, 250, 0.1) 64%, transparent 65%);
	pointer-events: none;
}

.map-glow::after {
	content: "";
	position: absolute;
	inset: -45%;
	border-radius: 9999px;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.45) 0%, transparent 65%);
	z-index: -1;
}

/* Call-to-action band: long, shallow lines across the blue. */
.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(177deg, transparent 29%, rgba(255, 255, 255, 0.14) 29.2%, transparent 29.4%),
		linear-gradient(183deg, transparent 58%, rgba(255, 255, 255, 0.12) 58.2%, transparent 58.4%),
		linear-gradient(178deg, transparent 84%, rgba(255, 255, 255, 0.1) 84.2%, transparent 84.4%);
	pointer-events: none;
}

/* Third-party form embeds sit flush inside the white card. */
.stride-embed-frame {
	display: block;
	width: 100%;
	min-height: 32rem;
	border: 0;
	border-radius: 0.5rem;
}

#estimate-form iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
}

.marquee {
	display: flex;
	width: max-content;
	animation: stride-marquee 28s linear infinite;
}

@keyframes stride-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.no-scrollbar {
	scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

details > summary {
	list-style: none;
	cursor: pointer;
}

details > summary::-webkit-details-marker {
	display: none;
}

details[open] .chev {
	transform: rotate(180deg);
}

input[type="range"],
input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--stride-brand);
}

.fade-in {
	animation: stride-fade-in 0.35s ease both;
}

@keyframes stride-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.marquee { animation: none; }
	.fade-in { animation: none; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* ---------------------------------------------------------------------
 * 2. WooCommerce baseline
 * ------------------------------------------------------------------ */

/* Prices: WooCommerce wraps sale prices in <del> and <ins>. */
.stride-price del {
	color: #a8a29e;
	text-decoration: line-through;
	font-weight: 400;
	font-size: 0.85em;
	order: 2;
}

.stride-price ins {
	text-decoration: none;
	order: 1;
}

.stride-price .woocommerce-Price-amount {
	white-space: nowrap;
}

.stride-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem;
}

/* Notices. */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper .wc-block-components-notice-banner {
	margin: 0 auto 1.5rem;
	max-width: 1280px;
	border-radius: 1rem;
	padding: 1rem 1.25rem;
	font-size: 0.9rem;
	line-height: 1.5;
	list-style: none;
}

.woocommerce-message {
	background: var(--stride-brand-tint);
	color: var(--stride-brand-dark);
}

.woocommerce-info {
	background: #f5f5f4;
	color: #44403c;
}

.woocommerce-error {
	background: #fef2f2;
	color: #b91c1c;
}

/*
 * WooCommerce puts the button first in the DOM and floats it right. A float
 * does not grow its parent, so a button taller than the line of text spills
 * out of the notice. Lay the notice out as a row instead and send the button
 * to the end with order.
 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}

.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
	float: none;
	order: 2;
	margin-left: auto;
	flex-shrink: 0;
}

/* A notice is one line tall, so its button is scaled to match rather than
   using the full page-button padding. */
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
	padding: 0.6rem 1.25rem;
	font-size: 0.8125rem;
	line-height: 1.2;
}

/* Buttons that come from WooCommerce templates. */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.stride-add-to-cart .single_add_to_cart_button,
.wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: 0;
	border-radius: 9999px;
	background: var(--stride-brand);
	padding: 0.9rem 1.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover,
.stride-add-to-cart .single_add_to_cart_button:hover {
	background: var(--stride-brand-dark);
	color: #fff;
}

.woocommerce .button.alt,
.woocommerce .button:disabled,
.woocommerce .button.disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.woocommerce .button.alt {
	opacity: 1;
	cursor: pointer;
}

/* Product cards: the small circular add-to-cart. */
.stride-cart-btn {
	font-size: 0;
}

.stride-cart-btn::before {
	content: "+";
	font-size: 1.25rem;
	line-height: 1;
	font-weight: 600;
}

.stride-cart-btn.loading {
	opacity: 0.6;
}

.stride-cart-btn.added::before {
	content: "✓";
}

/* Quantity inputs. */
.quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--stride-line);
	border-radius: 9999px;
	background: #fff;
	overflow: hidden;
}

.quantity input.qty {
	width: 3.5rem;
	border: 0;
	background: transparent;
	padding: 0.75rem 0.25rem;
	text-align: center;
	font-weight: 600;
	font-size: 0.9rem;
}

.quantity input.qty:focus {
	outline: none;
}

/* Variations table. */
.variations {
	width: 100%;
	margin: 1.5rem 0;
	border-collapse: collapse;
}

.variations th,
.variations td {
	padding: 0.5rem 0;
	text-align: left;
	vertical-align: middle;
}

.variations th {
	width: 7rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.variations select,
.woocommerce-ordering select,
.stride-prose select {
	width: 100%;
	border: 1px solid var(--stride-line);
	border-radius: 0.75rem;
	background: #fff;
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
}

.reset_variations {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.8rem;
	color: var(--stride-muted);
}

.woocommerce-variation-price {
	margin: 1rem 0;
	font-size: 1.5rem;
	font-weight: 600;
}

.stride-add-to-cart form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.stride-add-to-cart form.variations_form {
	display: block;
}

/* Product meta (SKU, categories, tags). */
.product_meta {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--stride-line);
	font-size: 0.875rem;
	color: var(--stride-muted);
}

.product_meta > span {
	display: block;
	margin-bottom: 0.35rem;
}

.product_meta a {
	color: var(--stride-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Data tabs. */
.woocommerce-tabs .wc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--stride-line);
}

.woocommerce-tabs .wc-tabs li a {
	display: block;
	padding: 0.75rem 1.25rem;
	border-radius: 9999px 9999px 0 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--stride-muted);
	text-decoration: none;
}

.woocommerce-tabs .wc-tabs li.active a {
	background: #fff;
	color: var(--stride-ink);
	box-shadow: inset 0 -2px 0 var(--stride-brand);
}

.woocommerce-Tabs-panel h2 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.shop_attributes {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.shop_attributes th,
.shop_attributes td {
	border-bottom: 1px solid var(--stride-line);
	padding: 0.6rem 0.75rem;
	text-align: left;
}

.shop_attributes th {
	width: 12rem;
	font-weight: 600;
}

.shop_attributes td p {
	margin: 0;
}

/* Product reviews (WooCommerce). */
.woocommerce-Reviews {
	max-width: 52rem;
}

.woocommerce-Reviews .woocommerce-Reviews-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 1.25rem;
}

.woocommerce-Reviews .woocommerce-noreviews {
	color: var(--stride-muted);
	margin: 0 0 1.5rem;
}

.woocommerce-Reviews .commentlist {
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.woocommerce-Reviews .commentlist li {
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce-Reviews .commentlist .comment_container {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--stride-line);
	border-radius: 1rem;
	padding: 1.25rem;
}

.woocommerce-Reviews .commentlist .children {
	list-style: none;
	margin: 1rem 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.woocommerce-Reviews .avatar {
	float: none;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	margin: 0;
	border-radius: 9999px;
}

.woocommerce-Reviews .comment-text {
	flex: 1 1 auto;
	min-width: 0;
}

.woocommerce-Reviews .comment-text > .star-rating {
	margin-bottom: 0.35rem;
}

.woocommerce-Reviews .comment-text .meta {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	color: var(--stride-muted);
	line-height: 1.5;
}

.woocommerce-Reviews .comment-text .meta strong {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--stride-ink);
}

.woocommerce-Reviews .comment-text .meta time {
	display: inline-block;
}

.woocommerce-Reviews .comment-text .description p {
	margin: 0 0 0.75rem;
	color: #44403c;
	line-height: 1.65;
}

.woocommerce-Reviews .comment-text .description p:last-child {
	margin-bottom: 0;
}

.woocommerce-Reviews .woocommerce-review__verified {
	color: var(--stride-brand);
	font-weight: 600;
}

/* Star rating display — drawn with text stars, so no WooCommerce font needed. */
.star-rating {
	position: relative;
	display: inline-block;
	overflow: hidden;
	font-family: inherit;
	font-size: 0.95rem;
	line-height: 1;
	white-space: nowrap;
	color: var(--stride-brand);
}

/* In flow, so the five grey stars size the element in whatever font loads. */
.star-rating::before {
	content: "\2605\2605\2605\2605\2605";
	display: block;
	color: #d6d3d1;
}

.star-rating span {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	overflow: hidden;
	padding: 0;
	white-space: nowrap;
	text-indent: -9999px;
}

.star-rating span::before {
	content: "\2605\2605\2605\2605\2605";
	position: absolute;
	top: 0;
	left: 0;
	text-indent: 0;
	color: inherit;
}

.woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: var(--stride-muted);
}

.woocommerce-product-rating .woocommerce-review-link {
	color: var(--stride-muted);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Review form. */
#review_form_wrapper {
	background: var(--stride-paper);
	border: 1px solid var(--stride-line);
	border-radius: 1rem;
	padding: 1.5rem;
}

.woocommerce-Reviews #respond {
	margin: 0;
}

.woocommerce-Reviews #reply-title {
	display: block;
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0 0 0.25rem;
}

.woocommerce-Reviews .comment-notes,
.woocommerce-Reviews .comment-form-cookies-consent label {
	font-size: 0.8125rem;
	color: var(--stride-muted);
}

.woocommerce-Reviews .comment-form p {
	margin: 0 0 1rem;
}

.woocommerce-Reviews .comment-form label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: var(--stride-ink);
}

.woocommerce-Reviews .comment-form .required {
	color: #dc2626;
}

.woocommerce-Reviews .comment-form input[type="text"],
.woocommerce-Reviews .comment-form input[type="email"],
.woocommerce-Reviews .comment-form input[type="url"],
.woocommerce-Reviews .comment-form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--stride-line);
	border-radius: 0.75rem;
	background: #fff;
	font: inherit;
	/* 16px on phones, so iOS does not zoom the page when a field is focused. */
	font-size: 1rem;
	color: var(--stride-ink);
}

@media (min-width: 640px) {
	.woocommerce-Reviews .comment-form input[type="text"],
	.woocommerce-Reviews .comment-form input[type="email"],
	.woocommerce-Reviews .comment-form input[type="url"],
	.woocommerce-Reviews .comment-form textarea {
		font-size: 0.9375rem;
	}
}

.woocommerce-Reviews .comment-form textarea {
	min-height: 8rem;
	resize: vertical;
}

.woocommerce-Reviews .comment-form input:focus,
.woocommerce-Reviews .comment-form textarea:focus {
	outline: none;
	border-color: var(--stride-brand);
	box-shadow: 0 0 0 3px var(--stride-brand-soft);
}

.woocommerce-Reviews .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.woocommerce-Reviews .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.woocommerce-Reviews .form-submit {
	margin: 0;
}

.woocommerce-Reviews .form-submit input[type="submit"],
.woocommerce-Reviews #respond .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.75rem;
	border: 0;
	border-radius: 9999px;
	background: var(--stride-brand);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.woocommerce-Reviews .form-submit input[type="submit"]:hover,
.woocommerce-Reviews #respond .submit:hover {
	background: var(--stride-brand-dark);
}

/* Star picker in the review form. */
.comment-form-rating {
	margin-bottom: 1rem;
}

.comment-form-rating .stars {
	margin: 0;
	line-height: 1;
}

.comment-form-rating .stars > span {
	position: relative;
	display: inline-block;
	/* Bigger on phones: each star is a fifth of this strip, so this is what
	   decides how large the tap target for a rating is. */
	font-size: 2.25rem;
	line-height: 1;
	white-space: nowrap;
	color: #d6d3d1;
}

@media (min-width: 640px) {
	.comment-form-rating .stars > span {
		font-size: 1.5rem;
	}
}

.comment-form-rating .stars > span::before {
	content: "\2605\2605\2605\2605\2605";
}

.comment-form-rating .stars a {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	overflow: hidden;
	text-indent: -9999px;
	text-decoration: none;
	white-space: nowrap;
}

.comment-form-rating .stars a.star-1 { width: 20%; z-index: 5; }
.comment-form-rating .stars a.star-2 { width: 40%; z-index: 4; }
.comment-form-rating .stars a.star-3 { width: 60%; z-index: 3; }
.comment-form-rating .stars a.star-4 { width: 80%; z-index: 2; }
.comment-form-rating .stars a.star-5 { width: 100%; z-index: 1; }

.comment-form-rating .stars a::before {
	position: absolute;
	top: 0;
	left: 0;
	text-indent: 0;
	color: transparent;
	transition: color 0.1s ease;
}

.comment-form-rating .stars a.star-1::before { content: "\2605"; }
.comment-form-rating .stars a.star-2::before { content: "\2605\2605"; }
.comment-form-rating .stars a.star-3::before { content: "\2605\2605\2605"; }
.comment-form-rating .stars a.star-4::before { content: "\2605\2605\2605\2605"; }
.comment-form-rating .stars a.star-5::before { content: "\2605\2605\2605\2605\2605"; }

.comment-form-rating .stars.selected a.active::before,
.comment-form-rating .stars a:hover::before,
.comment-form-rating .stars a:focus-visible::before {
	color: var(--stride-brand);
}

/* While hovering, the picked rating steps aside so the preview reads true. */
.comment-form-rating .stars.selected > span:hover a.active::before {
	color: transparent;
}

.comment-form-rating .stars a:focus-visible {
	outline: 2px solid var(--stride-brand);
	outline-offset: 2px;
	border-radius: 0.25rem;
}

/* The nav menus are lists; never show markers. */
.stride-nav,
.stride-nav li {
	list-style: none;
}

/* Cart and checkout tables (only reachable when enquiry mode is off). */
/* "Price on request" stands in for an amount, so it should not borrow the
   price styling. */
.stride-price-ask {
	font-weight: 600;
	font-size: 0.95em;
	color: var(--stride-muted);
	white-space: nowrap;
}

/* Cart totals box: WooCommerce renders this one, so style it as a card to
   match the hand-built list beside it. */
.cart_totals {
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	background: #fff;
	padding: 1.5rem;
	box-shadow: 0 1px 2px 0 rgb(20 24 28 / 0.06);
}

.cart_totals h2 {
	font-family: Montserrat, system-ui, sans-serif;
	font-size: 1.125rem;
	font-weight: 900;
	margin: 0 0 1rem;
}

.cart_totals table.shop_table {
	margin: 0;
}

.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
	padding: 0.65rem 0;
	border-bottom: 1px solid #e2e8f0;
}

.cart_totals tr.order-total th,
.cart_totals tr.order-total td {
	border-bottom: 0;
	font-size: 1rem;
	font-weight: 700;
}

.cart_totals .wc-proceed-to-checkout {
	margin-top: 1.25rem;
}

.cart_totals .wc-proceed-to-checkout .button,
.cart_totals .checkout-button {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	border-radius: 0.75rem;
	padding: 0.95rem 1.5rem;
	font-family: Montserrat, system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Brief highlight when the sticky bar sends someone to the options. */
.stride-flash {
	animation: stride-flash 1.2s ease;
	border-radius: 0.75rem;
}

@keyframes stride-flash {
	0%, 100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0); }
	30%      { box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.25); }
}

/* Quantity box inside a cart line. */
.stride-cart-qty .quantity {
	display: inline-flex;
	align-items: center;
}

.stride-cart-qty .quantity input.qty {
	width: 4rem;
	border: 1px solid #cbd5e1;
	border-radius: 0.65rem;
	padding: 0.45rem 0.5rem;
	text-align: center;
	font-size: 0.875rem;
}

.woocommerce table.shop_table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
	font-size: 0.9rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-bottom: 1px solid var(--stride-line);
	padding: 1rem 0.75rem;
	text-align: left;
	vertical-align: middle;
}

.woocommerce table.shop_table th {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.75rem;
	color: var(--stride-muted);
}

.woocommerce table.cart img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 0.75rem;
}

.woocommerce .cart-collaterals,
.woocommerce .cross-sells {
	margin-top: 2rem;
}

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

.woocommerce form .form-row label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
	font-weight: 500;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
	width: 100%;
	border: 1px solid var(--stride-line);
	border-radius: 0.75rem;
	background: #fff;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	line-height: 1.4;
}

@media (min-width: 640px) {
	.woocommerce form .form-row input.input-text,
	.woocommerce form .form-row textarea,
	.woocommerce form .form-row select {
		font-size: 0.9rem;
	}
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	border-color: var(--stride-brand);
	outline: none;
	box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.woocommerce-checkout #payment {
	margin-top: 1.5rem;
	border-radius: 1.5rem;
	background: #fff;
	padding: 1.5rem;
	box-shadow: inset 0 0 0 1px var(--stride-line);
}

.woocommerce-checkout #payment ul.payment_methods {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
	margin-bottom: 0.75rem;
}

.woocommerce-MyAccount-navigation ul {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.woocommerce-MyAccount-navigation a {
	display: inline-block;
	border: 1px solid var(--stride-line);
	border-radius: 9999px;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--stride-ink);
	text-decoration: none;
}

.woocommerce-MyAccount-navigation .is-active a {
	background: var(--stride-ink);
	border-color: var(--stride-ink);
	color: #fff;
}

/* Keep the single-product gallery sane if a plugin re-enables FlexSlider. */
.woocommerce-product-gallery {
	position: relative;
}

.woocommerce-product-gallery__wrapper {
	margin: 0;
}

/* Footer menu built by wp_nav_menu(). */
.stride-footer-menu {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}

.stride-footer-menu a {
	color: inherit;
	text-decoration: none;
}

.stride-footer-menu a:hover {
	color: #fff;
}

/* ---------------------------------------------------------------------
 * 3. Editor / post content
 * ------------------------------------------------------------------ */

.stride-prose {
	color: #44403c;
	line-height: 1.75;
}

.stride-prose > * + * {
	margin-top: 1.25em;
}

.stride-prose h1,
.stride-prose h2,
.stride-prose h3,
.stride-prose h4 {
	color: var(--stride-ink);
	font-weight: 600;
	line-height: 1.25;
	margin-top: 2em;
}

.stride-prose h2 { font-size: 1.75rem; }
.stride-prose h3 { font-size: 1.35rem; }
.stride-prose h4 { font-size: 1.1rem; }

.stride-prose a {
	color: var(--stride-brand);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.stride-prose ul,
.stride-prose ol {
	padding-left: 1.5rem;
}

.stride-prose ul { list-style: disc; }
.stride-prose ol { list-style: decimal; }

.stride-prose li + li {
	margin-top: 0.4em;
}

.stride-prose blockquote {
	border-left: 3px solid var(--stride-brand);
	padding-left: 1.25rem;
	font-style: italic;
	color: var(--stride-muted);
}

.stride-prose img,
.stride-prose figure img {
	border-radius: 1rem;
	height: auto;
}

.stride-prose code {
	background: #f5f5f4;
	border-radius: 0.35rem;
	padding: 0.15em 0.4em;
	font-size: 0.9em;
}

.stride-prose pre {
	background: var(--stride-ink);
	border-radius: 1rem;
	color: #e7e5e4;
	overflow-x: auto;
	padding: 1.25rem;
}

.stride-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.stride-prose th,
.stride-prose td {
	border: 1px solid var(--stride-line);
	padding: 0.6rem 0.75rem;
	text-align: left;
}

/* Comments. */
.stride-comments .comment-list,
.stride-comments ol.comment-list {
	list-style: none;
	padding: 0;
}

.stride-comments .comment-body {
	border-radius: 1rem;
	background: #fff;
	padding: 1.25rem;
	box-shadow: inset 0 0 0 1px var(--stride-line);
}

.stride-comments .children {
	list-style: none;
	margin-top: 1rem;
	padding-left: 1.5rem;
}

.stride-comments .comment-form input[type="text"],
.stride-comments .comment-form input[type="email"],
.stride-comments .comment-form input[type="url"] {
	width: 100%;
	border: 1px solid var(--stride-line);
	border-radius: 0.75rem;
	background: #fff;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	margin-top: 0.35rem;
}

/* Widgets. */
.stride-widget ul {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	font-size: 0.9rem;
}

.stride-widget li + li {
	margin-top: 0.5rem;
}

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

.stride-widget a:hover {
	color: var(--stride-brand);
}

/* Screen-reader helper, in case Tailwind is unavailable. */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
