:root {
	--olfa-font-sans: var(--wp--preset--font-family--olfa-sans, "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	--olfa-color-black: var(--wp--preset--color--olfa-black, #111111);
	--olfa-color-charcoal: var(--wp--preset--color--olfa-charcoal, #1a1a1a);
	--olfa-color-ink: var(--wp--preset--color--ink, #2a2a2a);
	--olfa-color-muted: var(--wp--preset--color--muted, #6a6a6a);
	--olfa-color-stroke: var(--wp--preset--color--stroke, #d7d7d7);
	--olfa-color-surface: var(--wp--preset--color--surface, #f5f5f5);
	--olfa-color-surface-strong: var(--wp--preset--color--surface-strong, #ebebeb);
	--olfa-color-yellow: var(--wp--preset--color--olfa-yellow, #ffd700);
	--olfa-color-yellow-dark: var(--wp--preset--color--olfa-yellow-dark, #e0bf00);
	--olfa-color-white: var(--wp--preset--color--white, #ffffff);
	--olfa-control-height: 3rem;
	--olfa-radius-tight: 4px;
	--olfa-shell-padding: clamp(1rem, 3vw, 2rem);
	--olfa-focus-ring: 0 0 0 3px rgba(255, 215, 0, 0.24);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 8rem;
}

body {
	margin: 0;
	color: var(--olfa-color-ink);
	background: var(--olfa-color-white);
	font-family: var(--olfa-font-sans);
	font-size: var(--wp--preset--font-size--base, 1rem);
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

a.skip-link-screen-reader-text:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	padding: 0.85rem 1rem;
	border: 1px solid var(--olfa-color-black);
	border-radius: var(--olfa-radius-tight);
	background: var(--olfa-color-white);
	color: var(--olfa-color-black);
	box-shadow: 0 14px 30px rgba(17, 17, 17, 0.14);
	text-decoration: none;
}

::selection {
	color: var(--olfa-color-black);
	background: rgba(255, 215, 0, 0.35);
}

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

a {
	color: var(--olfa-color-black);
	text-decoration-color: rgba(17, 17, 17, 0.34);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:hover,
a:focus-visible {
	text-decoration-color: currentColor;
}

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

p + p {
	margin-top: 1rem;
}

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

li + li {
	margin-top: 0.35rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--olfa-color-black);
	font-family: var(--olfa-font-sans);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.5rem, 4.2vw, 4rem);
}

h2 {
	font-size: clamp(1.875rem, 3vw, 2.25rem);
	line-height: 1.12;
}

h3 {
	font-size: clamp(1.375rem, 2.2vw, 1.75rem);
	line-height: 1.16;
}

h4 {
	font-size: 1.125rem;
	letter-spacing: -0.015em;
}

:where(
	main,
	section,
	article,
	aside,
	.wp-block-group,
	.wp-block-columns,
	.wp-block-column,
	.wp-block-buttons
) {
	min-width: 0;
}

:where(
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	p,
	li,
	dt,
	dd,
	a,
	.wp-block-button__link,
	.wp-element-button
) {
	overflow-wrap: anywhere;
}

strong,
b {
	color: var(--olfa-color-black);
	font-weight: 700;
}

small {
	font-size: var(--wp--preset--font-size--xs, 0.75rem);
}

code,
pre,
kbd,
samp {
	font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Consolas, monospace;
}

pre {
	overflow-x: auto;
	padding: 1rem 1.125rem;
	border: 1px solid var(--olfa-color-stroke);
	border-radius: var(--olfa-radius-tight);
	background: var(--olfa-color-surface);
}

blockquote {
	padding-left: 1.25rem;
	border-left: 3px solid var(--olfa-color-yellow);
	color: var(--olfa-color-black);
	font-size: 1.125rem;
}

hr,
.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--olfa-color-stroke);
}

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

th,
td {
	padding: 0.875rem 1rem;
	border-bottom: 1px solid var(--olfa-color-stroke);
	text-align: left;
	vertical-align: top;
}

th {
	color: var(--olfa-color-black);
	font-size: var(--wp--preset--font-size--xs, 0.75rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

:where(button, input, select, textarea) {
	font: inherit;
}

:where(
	a,
	button,
	input,
	select,
	textarea,
	summary,
	.wp-element-button,
	.wp-block-button__link
):focus-visible {
	outline: 2px solid var(--olfa-color-yellow);
	outline-offset: 2px;
}

:where(summary):focus-visible {
	background: rgba(255, 215, 0, 0.08);
	border-radius: var(--olfa-radius-tight);
}

:where(
	.wp-element-button,
	.wp-block-button__link,
	.button,
	.added_to_cart,
	input[type="submit"],
	input[type="button"],
	input[type="reset"],
	.single_add_to_cart_button,
	.wc-block-components-button,
	.wpcf7-form-control.wpcf7-submit
) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: var(--olfa-control-height);
	padding: 0.875rem 1.25rem;
	border: 1px solid var(--olfa-color-black);
	border-radius: var(--olfa-radius-tight);
	background: var(--olfa-color-black);
	color: var(--olfa-color-white);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}

:where(
	.wp-element-button,
	.wp-block-button__link,
	.button,
	.added_to_cart,
	input[type="submit"],
	input[type="button"],
	input[type="reset"],
	.single_add_to_cart_button,
	.wc-block-components-button,
	.wpcf7-form-control.wpcf7-submit
):hover {
	border-color: var(--olfa-color-charcoal);
	background: var(--olfa-color-charcoal);
	color: var(--olfa-color-white);
}

:where(
	.wp-element-button,
	.wp-block-button__link,
	.button,
	.added_to_cart,
	input[type="submit"],
	input[type="button"],
	input[type="reset"],
	.single_add_to_cart_button,
	.wc-block-components-button,
	.wpcf7-form-control.wpcf7-submit
):disabled,
:where(
	.wp-element-button,
	.wp-block-button__link,
	.button,
	.added_to_cart,
	input[type="submit"],
	input[type="button"],
	input[type="reset"],
	.single_add_to_cart_button,
	.wc-block-components-button,
	.wpcf7-form-control.wpcf7-submit
)[aria-disabled="true"] {
	opacity: 0.58;
	cursor: not-allowed;
}

:where(.wp-block-button.is-style-outline .wp-block-button__link) {
	background: transparent;
	color: var(--olfa-color-black);
}

:where(
	input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
	select,
	textarea,
	.input-text,
	.wpcf7-text,
	.wpcf7-email,
	.wpcf7-number,
	.wpcf7-tel,
	.wpcf7-textarea,
	.wc-block-components-text-input input,
	.wc-block-components-combobox .components-combobox-control__input,
	.woocommerce form .form-row input.input-text,
	.woocommerce form .form-row textarea
) {
	width: 100%;
	min-height: var(--olfa-control-height);
	padding: 0.875rem 1rem;
	border: 1px solid var(--olfa-color-stroke);
	border-radius: var(--olfa-radius-tight);
	background: var(--olfa-color-surface);
	color: var(--olfa-color-black);
	box-shadow: none;
	transition:
		border-color 180ms ease,
		box-shadow 180ms ease,
		background-color 180ms ease;
}

:where(textarea, .wpcf7-textarea) {
	min-height: 9rem;
	resize: vertical;
}

:where(
	input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
	select,
	textarea,
	.input-text,
	.wpcf7-text,
	.wpcf7-email,
	.wpcf7-number,
	.wpcf7-tel,
	.wpcf7-textarea,
	.wc-block-components-text-input input,
	.wc-block-components-combobox .components-combobox-control__input,
	.woocommerce form .form-row input.input-text,
	.woocommerce form .form-row textarea
):focus {
	border-color: var(--olfa-color-black);
	box-shadow: var(--olfa-focus-ring);
	outline: none;
}

::placeholder {
	color: var(--olfa-color-muted);
	opacity: 1;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--olfa-color-black);
}

.olfa-shell {
	width: min(calc(100% - (var(--olfa-shell-padding) * 2)), var(--wp--style--global--wide-size));
	margin-inline: auto;
}

.olfa-content-shell {
	width: min(calc(100% - (var(--olfa-shell-padding) * 2)), var(--wp--style--global--content-size));
	margin-inline: auto;
}

.olfa-section {
	padding-block: clamp(3rem, 6vw, 5.5rem);
}

.olfa-section--tight {
	padding-block: clamp(2rem, 4vw, 3rem);
}

.olfa-eyebrow {
	display: inline-block;
	margin-bottom: 0.875rem;
	color: var(--olfa-color-muted);
	font-size: var(--wp--preset--font-size--xs, 0.75rem);
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.olfa-card {
	border: 1px solid var(--olfa-color-stroke);
	border-radius: var(--olfa-radius-tight);
	background: var(--olfa-color-white);
}

.olfa-rule {
	height: 1px;
	border: 0;
	background: var(--olfa-color-stroke);
}

:where(.wp-site-blocks) {
	overflow-x: clip;
}

:where([id]) {
	scroll-margin-top: 8rem;
}

:where(.wp-block-post-content, .entry-content) :where(h2, h3, h4):not(:first-child) {
	margin-top: clamp(2rem, 3.5vw, 3rem);
}

:where(.wp-block-post-content, .entry-content) :where(ul, ol, blockquote, table, pre) {
	margin-top: 1rem;
}

:where(
	.woocommerce-message,
	.woocommerce-error,
	.woocommerce-info,
	.wc-block-components-notice-banner,
	.wpcf7 form .wpcf7-response-output
) {
	margin: 0 0 1rem;
	padding: 1rem 1.125rem;
	border: 1px solid var(--olfa-color-stroke);
	border-left: 4px solid var(--olfa-color-yellow);
	border-radius: var(--olfa-radius-tight);
	background: var(--olfa-color-surface);
	color: var(--olfa-color-black);
}

:where(
	.woocommerce ul.products li.product,
	.wc-block-grid__product,
	.wc-block-product
) {
	border: 1px solid var(--olfa-color-stroke);
	border-radius: var(--olfa-radius-tight);
	background: var(--olfa-color-white);
}

:where(
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.wc-block-grid__product-title,
	.wc-block-product__title
) {
	color: var(--olfa-color-black);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

:where(
	.woocommerce ul.products li.product .price,
	.wc-block-grid__product-price,
	.wc-block-components-product-price
) {
	color: var(--olfa-color-black);
	font-weight: 700;
}

:where(
	.woocommerce table.shop_table,
	.woocommerce-checkout-review-order-table,
	.wc-block-cart__totals-block,
	.wc-block-components-order-summary,
	.wc-block-components-totals-wrapper,
	.wc-block-checkout__sidebar
) {
	border: 1px solid var(--olfa-color-stroke);
	border-radius: var(--olfa-radius-tight);
	background: var(--olfa-color-white);
}

:where(.wpcf7 form p + p) {
	margin-top: 1rem;
}

:where(.wpcf7-spinner) {
	display: block;
	margin-top: 0.5rem;
}
