/*
Theme Name: Neutral Blocks
Description: A neutral, editorial block theme designed to be adapted for different websites.
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neutral-blocks
Tags: block-patterns, full-site-editing, wide-blocks, accessibility-ready, editor-style
*/

/*
 * The theme is intentionally unbranded. Keep reusable visual decisions here;
 * project-specific colors, copy and assets belong in the Site Editor.
 */

:root {
	--nb-radius-sm: 0.35rem;
	--nb-radius-md: 0.75rem;
	--nb-shadow-soft: 0 1.5rem 4rem rgb(19 32 29 / 0.1);
	--nb-shadow-lift: 0 1rem 2rem rgb(19 32 29 / 0.14);
	--nb-border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 16%, transparent);
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
	text-rendering: optimizeLegibility;
}

a {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 0.08em;
}

button,
a {
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

:where(.wp-site-blocks *:focus-visible) {
	outline: 0.18rem solid var(--wp--preset--color--accent);
	outline-offset: 0.22rem;
}

.site-header {
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 12%, transparent);
}

.site-header__inner {
	min-height: 5.25rem;
	padding-block: 1rem;
}

.site-header .wp-block-site-title a {
	color: inherit;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	text-decoration: none;
}

.site-header .wp-block-navigation-item__content {
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.site-footer {
	margin-top: 0;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 14%, transparent);
}

.nb-button,
.wp-block-button__link {
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.045em;
	padding: 0.85rem 1.25rem;
	text-transform: uppercase;
}

.nb-button:hover,
.wp-block-button__link:hover {
	box-shadow: 0 0.5rem 1rem rgb(19 32 29 / 0.16);
	transform: translateY(-0.12rem);
}

/* Shared custom block shell */
.nb-block {
	position: relative;
	overflow: clip;
}

.nb-block__inner {
	margin-inline: auto;
	max-width: 1280px;
	padding-inline: clamp(1.25rem, 4vw, 4rem);
	position: relative;
	z-index: 1;
}

.nb-kicker {
	color: var(--wp--preset--color--moss);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
}

.nb-copy {
	color: color-mix(in srgb, var(--wp--preset--color--ink) 78%, transparent);
	font-size: clamp(1rem, 0.94rem + 0.18vw, 1.12rem);
	line-height: 1.7;
}

.nb-copy p:last-child {
	margin-bottom: 0;
}

/* Hero */
.nb-hero {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
	min-height: min(47rem, 78vh);
	padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.nb-hero::before,
.nb-hero::after {
	content: "";
	position: absolute;
	border: 1px solid rgb(245 242 234 / 0.18);
	border-radius: 50%;
	height: min(45vw, 34rem);
	pointer-events: none;
	width: min(45vw, 34rem);
}

.nb-hero::before {
	right: -10rem;
	top: -12rem;
}

.nb-hero::after {
	bottom: -20rem;
	left: 35%;
}

.nb-hero__grid {
	display: grid;
	gap: clamp(2.5rem, 7vw, 7rem);
	grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
	align-items: center;
}

.nb-hero__title {
	color: inherit;
	font-size: clamp(3rem, 7vw, 7.6rem);
	font-weight: 600;
	letter-spacing: -0.075em;
	line-height: 0.92;
	max-width: 9ch;
	text-wrap: balance;
}

.nb-hero__text {
	color: rgb(245 242 234 / 0.78);
	max-width: 35rem;
}

.nb-hero__actions {
	margin-top: 2rem;
}

.nb-hero__actions a {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--ink);
}

.nb-hero__media {
	position: relative;
	min-height: clamp(20rem, 46vw, 38rem);
}

.nb-hero__media::before {
	background: var(--wp--preset--color--sand);
	content: "";
	inset: 9% -5% -7% 8%;
	position: absolute;
	transform: rotate(4deg);
}

.nb-hero__media::after {
	background: var(--wp--preset--color--moss);
	content: "";
	inset: -5% 8% 11% -8%;
	position: absolute;
	transform: rotate(-6deg);
}

.nb-hero__image,
.nb-hero__placeholder {
	height: 100%;
	min-height: inherit;
	position: relative;
	width: 100%;
	z-index: 1;
}

.nb-hero__image {
	box-shadow: var(--nb-shadow-lift);
	object-fit: cover;
}

.nb-hero__placeholder {
	background:
		radial-gradient(circle at 30% 25%, rgb(245 242 234 / 0.36) 0 4%, transparent 4.5%),
		linear-gradient(135deg, var(--wp--preset--color--rust), var(--wp--preset--color--moss));
	min-height: 24rem;
}

/* Two-column text block */
.nb-two-columns {
	padding-block: clamp(4.5rem, 9vw, 8rem);
}

.nb-two-columns__head {
	max-width: 42rem;
}

.nb-two-columns__title {
	font-size: clamp(2.2rem, 4.4vw, 4.8rem);
	letter-spacing: -0.065em;
	line-height: 0.96;
	max-width: 10ch;
}

.nb-two-columns__grid {
	border-top: var(--nb-border);
	display: grid;
	gap: clamp(2rem, 8vw, 8rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: clamp(2.5rem, 5vw, 4.5rem);
	padding-top: 1.5rem;
}

.nb-two-columns__column {
	font-size: clamp(1.08rem, 1rem + 0.25vw, 1.28rem);
	line-height: 1.65;
}

.nb-two-columns__column::before {
	color: var(--wp--preset--color--moss);
	content: "↳";
	display: block;
	font-size: 1.3rem;
	font-weight: 800;
	margin-bottom: 1.8rem;
}

/* Media and text block */
.nb-media-text {
	background: var(--wp--preset--color--sand);
	padding-block: clamp(3.5rem, 8vw, 7rem);
}

.nb-media-text--moss {
	background: var(--wp--preset--color--moss);
}

.nb-media-text--paper {
	background: var(--wp--preset--color--paper);
}

.nb-media-text__grid {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 7vw, 7rem);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.nb-media-text--media-right .nb-media-text__media {
	grid-column: 2;
	grid-row: 1;
}

.nb-media-text--media-right .nb-media-text__content {
	grid-column: 1;
	grid-row: 1;
}

.nb-media-text__media {
	min-height: clamp(20rem, 42vw, 36rem);
	position: relative;
}

.nb-media-text__media::after {
	border: 1px solid var(--wp--preset--color--ink);
	content: "";
	inset: 1rem -1rem -1rem 1rem;
	position: absolute;
	z-index: 0;
}

.nb-media-text__image,
.nb-media-text__placeholder {
	height: 100%;
	min-height: inherit;
	position: relative;
	width: 100%;
	z-index: 1;
}

.nb-media-text__image {
	object-fit: cover;
}

.nb-media-text__placeholder {
	background:
		linear-gradient(160deg, rgb(19 32 29 / 0.04), transparent 42%),
		repeating-linear-gradient(135deg, rgb(19 32 29 / 0.1) 0 1px, transparent 1px 1.2rem),
		var(--wp--preset--color--paper);
}

.nb-media-text__title {
	font-size: clamp(2.2rem, 4vw, 4.8rem);
	letter-spacing: -0.07em;
	line-height: 0.96;
	max-width: 9ch;
}

.nb-media-text__actions {
	margin-top: 2rem;
}

.nb-media-text__actions a {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
}

.nb-media-text--moss .nb-media-text__actions a {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
}

@media (max-width: 781px) {
	.nb-hero__grid,
	.nb-media-text__grid,
	.nb-two-columns__grid {
		grid-template-columns: 1fr;
	}

	.nb-hero__media {
		min-height: 23rem;
	}

	.nb-media-text--media-right .nb-media-text__media,
	.nb-media-text--media-right .nb-media-text__content {
		grid-column: 1;
		grid-row: auto;
	}

	.nb-media-text--media-right .nb-media-text__content {
		grid-row: 1;
	}

	.nb-media-text--media-right .nb-media-text__media {
		grid-row: 2;
	}
}

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

/* -------------------------------------------------------------------------
 * PICO Food front page
 * ------------------------------------------------------------------------- */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/opensans-300.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/opensans-400.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/opensans-600.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/opensans-700.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/opensans-800.ttf") format("truetype"); }

:root { --pico-beige: #f0bc83; --pico-text: #191a23; --pico-blue: #1d58a2; --pico-width: 1200px; }
html { scroll-behavior: smooth; }
body { background: #fff; color: var(--pico-text); font-family: "Open Sans", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-post-content { margin: 0; max-width: none; }
.pico-block { box-sizing: border-box; width: 100%; }
.pico-block *, .pico-block *::before, .pico-block *::after { box-sizing: border-box; }
.pico-block a { color: inherit; }
main .wp-block-post-content > .pico-block { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* Header and navigation */
.pico-header {
	position: relative;
	z-index: 20;
	height: 100px;
	background: linear-gradient(#fff, rgb(255 255 255 / 0%));
}

.pico-header__inner {
	width: 100%;
	max-width: var(--pico-width);
	min-height: 100px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 0;
	align-items: center;
	justify-content: space-between;
}

.pico-header__nav {
	width: 40%;
	flex: 0 0 40%;
	order: 1;
}

.pico-header__logo {
	width: 20%;
	flex: 0 0 20%;
	order: 2;
	margin: 0;
	display: flex;
	justify-content: center;
}

.pico-header__logo a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.pico-header__logo img {
	width: auto;
	height: 100px;
	max-width: none;
	object-fit: contain;
}

.pico-header__spacer {
	width: 40%;
	flex: 0 0 40%;
	order: 3;
}

.pico-header .wp-block-navigation__responsive-container-content {
	width: 100%;
}

.pico-header .wp-block-navigation__container {
	width: 100%;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0;
}

.pico-header .wp-block-navigation-item__content {
	padding: 20px 15px;
	color: var(--pico-text);
	font-size: 17px;
	line-height: 1.6;
	text-decoration: none;
	transition: color .3s ease-in-out, background-color .3s ease-in-out;
}

.pico-header .wp-block-navigation-item__content:hover,
.pico-header .wp-block-navigation-item__content:focus-visible,
.pico-header .wp-block-navigation-item:hover > .wp-block-navigation__submenu-icon {
	color: var(--pico-beige);
}

.pico-header .wp-block-navigation.pico-header__nav .has-child > .wp-block-navigation__submenu-container {
	top: 100%;
	left: 0;
	width: max-content;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	box-shadow: none;
	transition: visibility .3s ease-in-out, opacity .3s ease-in-out;
}

.pico-header .wp-block-navigation.pico-header__nav .has-child > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	width: 100%;
	padding: 20px 15px;
	line-height: 1.6;
	white-space: nowrap;
}

.pico-header .wp-block-navigation__responsive-container-open {
	color: var(--pico-beige);
}

@media (max-width: 991px) {
	.pico-header {
		height: 90px;
		background: #fff;
	}

	.pico-header__inner {
		min-height: 90px;
		padding: 0 28px;
	}

	.pico-header__nav,
	.pico-header__spacer {
		width: 25%;
		flex-basis: 25%;
	}

	.pico-header__logo {
		width: 50%;
		flex-basis: 50%;
	}

	.pico-header__logo img {
		height: 88px;
	}

	.pico-header .wp-block-navigation__responsive-container-open {
		width: 56px;
		height: 56px;
		align-items: center;
		justify-content: center;
		color: var(--pico-beige);
	}

	.pico-header .wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open {
		display: flex;
	}

	.pico-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.pico-header .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed;
		z-index: 100000;
		inset: 0;
		padding: 0 !important;
		background: rgb(0 0 0 / 22%) !important;
		color: var(--pico-text) !important;
	}

	.pico-header .is-menu-open .wp-block-navigation__responsive-close {
		width: 100%;
		max-width: none;
		margin: 0;
	}

	.pico-header .is-menu-open .wp-block-navigation__responsive-dialog {
		width: 100%;
		min-height: 100vh;
		margin: 0 !important;
		padding: 110px 28px 40px;
		background: #fff;
	}

	.pico-header .is-menu-open .wp-block-navigation__responsive-container-close {
		top: 24px;
		left: 24px;
		right: auto;
		z-index: 100002;
		width: 56px;
		height: 56px;
		color: var(--pico-beige);
	}

	.pico-header .is-menu-open .wp-block-navigation__responsive-container-close svg {
		width: 30px;
		height: 30px;
	}

	.pico-header .is-menu-open .wp-block-navigation__responsive-container-content {
		width: 100%;
		padding: 0 !important;
		align-items: flex-start;
	}

	.pico-header .is-menu-open .wp-block-navigation__container {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.pico-header .is-menu-open .wp-block-navigation-item {
		width: 100%;
		flex-wrap: wrap;
		background: transparent !important;
	}

	.pico-header .is-menu-open .wp-block-navigation-item__content {
		width: 100%;
		padding: 18px 0;
		border-bottom: 1px solid rgb(1 87 162 / 12%);
		color: var(--pico-beige) !important;
		font-size: 28px;
		line-height: 1.1;
		text-transform: uppercase;
	}

	.pico-header .is-menu-open .wp-block-navigation__submenu-container,
	.pico-header .is-menu-open .wp-block-navigation__submenu-icon {
		display: none !important;
	}

	.pico-header:has(.wp-block-navigation__responsive-container.is-menu-open) .pico-header__logo {
		position: fixed;
		top: 18px;
		right: 50%;
		z-index: 100001;
		width: 88px;
		transform: translateX(50%);
	}

	.pico-header:has(.wp-block-navigation__responsive-container.is-menu-open) .pico-header__logo img {
		height: 76px;
	}
}

/* Hero */
.pico-cover-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pico-hero { position: relative; height: 70vh; margin-top: -100px; background-color: #eee; display: flex; align-items: center; }
.pico-hero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--pico-width); margin: 0 auto; padding: 0 20px; }
.pico-hero__content { width: 45%; max-width: 520px; }
.pico-hero__title { margin: 0; color: var(--pico-text); font-size: clamp(2.25rem, 3.15vw, 2.9rem); font-weight: 700; line-height: 1.2; }
.pico-hero__text { margin-top: .25rem; color: var(--pico-text); font-size: 20px; line-height: 1.55; }
.pico-hero__text p { margin: 0; }

@media (min-width: 992px) {
	/* The post-content block's first-child rule otherwise cancels the overlap. */
	body.home .site-main .wp-block-post-content > .pico-hero { margin-top: -100px; }
	body.home .pico-hero__inner { padding: 0; }
}

/* Shared type and intro sections */
.pico-eyebrow { margin: 0 0 14px; color: var(--pico-beige); font-size: 20px; font-weight: 700; line-height: 1.15; text-transform: uppercase; }
.pico-title-lg { margin: 0 0 25px; color: var(--pico-text); font-size: clamp(2rem, 3vw, 2.65rem); font-weight: 600; line-height: 1.2; }
.pico-copy { color: var(--pico-text); line-height: 1.65; }
.pico-copy p:first-child { margin-top: 0; }
.pico-copy p:last-child { margin-bottom: 0; }
.pico-arrow-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 19px; color: var(--pico-beige); font-weight: 700; text-decoration: none; }
.pico-arrow-link__icon { display: inline-block; font-size: 28px; line-height: .7; transition: transform .25s ease; }
.pico-arrow-link:hover .pico-arrow-link__icon { transform: translateX(5px); }
.pico-media-text { position: relative; }
.pico-media-text__inner { width: 100%; max-width: var(--pico-width); margin: 0 auto; display: flex; align-items: stretch; }
.pico-media-text__media { width: 50%; min-height: 600px; aspect-ratio: 1 / 1; background-position: 20% 50%; background-repeat: no-repeat; background-size: cover; }
.pico-media-text__body { width: 50%; min-height: 600px; display: flex; align-items: center; justify-content: center; }
.pico-panel { width: 100%; padding: 50px; text-align: center; }
.pico-panel .pico-copy { text-align: left; }
.pico-intro { padding-top: 75px; }
.pico-intro .pico-media-text__inner { position: relative; }
.pico-intro .pico-media-text__body { position: relative; }
.pico-intro__decoration { position: absolute; z-index: -1; width: 250px; height: auto; object-fit: contain; pointer-events: none; }
.pico-intro__decoration:nth-of-type(1) { top: 0; left: -75px; }
.pico-intro__decoration:nth-of-type(2) { top: -50px; right: 0; }
.pico-intro__decoration:nth-of-type(3) { right: 0; bottom: 0; width: 178px; }

/* Section heading */
.pico-section-heading { text-align: left; }
.pico-section-heading__inner { width: 100%; max-width: var(--pico-width); margin: 0 auto; padding: 125px 20px 25px; display: flex; flex-direction: column; align-items: center; }
.pico-section-heading .pico-eyebrow { text-align: center; }
.pico-section-heading .pico-title-lg { margin-bottom: 20px; text-align: center; }
.pico-section-heading__text { width: 80%; text-align: center; }

/* Category slider */
.pico-categories__inner { width: 100%; max-width: var(--pico-width); margin: 0 auto; padding: 0 20px 75px; display: flex; flex-direction: column; align-items: center; }
.pico-category-slider { position: relative; width: 100%; height: 800px; overflow: hidden; }
.pico-category-slide { display: flex; align-items: flex-start; justify-content: center; padding: 40px 0; }
.pico-category-link { display: block; width: 100%; text-decoration: none; transform: scale(.9); transition: transform .4s ease; }
.swiper-slide-active .pico-category-link { position: relative; z-index: 5; transform: scale(1.1); }
.pico-category-link:focus-visible { outline: 3px solid var(--pico-beige); outline-offset: 4px; }
.pico-category-card { position: relative; width: 90%; min-height: 400px; padding: 20px; overflow: visible; background: var(--pico-card-color); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 15px 35px rgb(0 0 0 / 30%); }
.swiper-slide-active .pico-category-card { box-shadow: 0 25px 50px rgb(0 0 0 / 50%); }
.pico-category-card__shoutout { position: relative; z-index: 2; max-width: 230px; padding: 5px 12px; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 1px; line-height: 1.6; text-align: center; text-transform: uppercase; }
.pico-category-card__image { position: relative; z-index: 1; width: 100%; margin-bottom: 25px; }
.pico-category-card__image img { display: block; width: 140%; max-width: none; height: auto; margin-left: -20%; filter: drop-shadow(0 10px 15px rgb(0 0 0 / 40%)); transition: transform .4s ease; }
.swiper-slide-active .pico-category-card__image img { transform: scale(1.05); }
.pico-category-card__bottom { width: 100%; text-align: center; }
.pico-category-card__bottom h3 { margin: 0; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: 1px; line-height: 1.2; text-transform: uppercase; }
.pico-category-card__description { color: rgb(255 255 255 / 85%); font-size: 12px; line-height: 1.5; }
.pico-category-slider .swiper-pagination { bottom: 10px; }
.pico-category-slider .swiper-pagination-bullet-active { background: #000; }
.pico-category-slider .swiper-button-prev, .pico-category-slider .swiper-button-next { appearance: none; padding: 0; border: 0; background: transparent; box-shadow: none; color: var(--pico-beige); cursor: pointer; }
.pico-category-slider .swiper-button-prev::after, .pico-category-slider .swiper-button-next::after { font-size: 50px; }
.pico-category-slider.is-single .swiper-pagination, .pico-category-slider.is-single .swiper-button-prev, .pico-category-slider.is-single .swiper-button-next { display: none; }

/* Product marquee */
.pico-marquee { padding: 60px 0; overflow: hidden; }
.pico-marquee__viewport { width: 100%; overflow: hidden; outline: none; --pico-marquee-size: clamp(220px, 23vw, 310px); }
.pico-marquee__viewport:focus-visible { box-shadow: 0 0 0 4px var(--pico-beige); }
.pico-marquee__track { width: max-content; display: flex; align-items: stretch; animation: pico-marquee-scroll var(--pico-marquee-duration, 26s) linear infinite; will-change: transform; }
.pico-marquee__viewport:hover .pico-marquee__track, .pico-marquee__viewport:focus-within .pico-marquee__track { animation-play-state: paused; }
.pico-marquee__track.is-static { animation: none; }
.pico-marquee__item { flex: 0 0 var(--pico-marquee-size); width: var(--pico-marquee-size); aspect-ratio: 1 / 1; text-decoration: none; }
.pico-marquee__tile { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--pico-tile-color); }
.pico-marquee__tile img { width: 100%; height: auto; object-fit: contain; }
@keyframes pico-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* B2B */
.pico-b2b__panel { text-align: center; }
.pico-b2b__cert { width: 100%; margin-top: 20px; display: flex; align-items: center; gap: 20px; text-align: left; }
.pico-b2b__cert-image { width: 80px; height: auto; flex: 0 0 80px; object-fit: contain; }
.pico-b2b__cert p { margin: 0; line-height: 1.55; }

/* Footer */
.pico-footer { width: 100%; background: var(--pico-beige) linear-gradient(to bottom, #fff 0, var(--pico-beige) 100px) no-repeat; color: #fff; display: flex; flex-direction: column; }
.pico-footer > * { margin-block-start: 0; }
.pico-footer__fade { display: none; }
.pico-footer__content { width: 100%; max-width: var(--pico-width); margin: 0 auto; padding: 75px 20px; display: flex; flex-direction: column; text-align: left; }
.pico-footer__content > * { margin-block-start: 0; }
.pico-footer__top { width: 100%; display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 0; padding-bottom: 35px; }
.pico-footer__logo { width: 50%; }
.pico-footer__logo img { width: auto; height: 100px; }
.pico-footer__links-wrap { width: 50%; padding-top: 40px; display: flex; flex-direction: column; align-items: flex-end; text-align: left; }
.pico-footer__links-wrap > * { margin-block-start: 0; }
.pico-footer__links { width: auto; }
.pico-footer__links-wrap > .pico-footer__links { margin-right: 75px; }
.pico-footer__links .wp-block-navigation__container { gap: 0; flex-wrap: wrap; justify-content: flex-end; margin: 0; padding: 0; }
.pico-footer__links .wp-block-navigation-item__content { padding: 0 10px; color: #fff; font-size: 14px; line-height: 1.6; letter-spacing: 1.1px; text-decoration: none; }
.pico-footer__links .wp-block-navigation-item__content:hover { color: #fff; }
.pico-footer__bottom { width: 100%; display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 0; border-top: 1px solid #fff; padding-top: 35px; }
.pico-footer__address { margin: 0; color: #fff; font-size: 14px; }
.pico-footer__social { display: flex; flex-direction: row; margin: 0 -10px -10px 0; }
.pico-footer__social a { display: inline-flex; align-items: center; margin: 0 10px 10px 0; color: #fff; font-size: 25px; line-height: 1; text-decoration: none; }
.pico-footer__social svg { width: 1em; height: 1em; fill: currentColor; color: #fff; vertical-align: middle; }

/* -------------------------------------------------------------------------
 * PICO Food product page
 * ------------------------------------------------------------------------- */
.l-section { width: 100%; background-size: cover; background-repeat: repeat; }
.l-inner { max-width: var(--pico-width); margin: 0 auto; padding: 75px 20px; display: flex; flex-direction: column; align-items: flex-start; }
.product-page > * { margin-block-start: 0; }

/* Produktdetail */
.product-detail__inner { padding-top: 150px; }
.product-detail__grid { width: 100%; display: flex; flex-direction: row; align-items: center; }
.product-detail__media { width: 40%; padding-right: 20px; background-color: var(--pico-beige); display: flex; flex-direction: column; align-items: center; text-align: center; }
.product-detail__imagewrap { width: 100%; }
.product-detail__imagewrap img { width: 100%; height: auto; }
.product-detail__body { width: 60%; padding-left: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.product-detail__titlewrap { width: 100%; display: flex; flex-direction: column; align-items: flex-start; text-align: center; }
.product-detail__title { font-size: 50px; font-weight: 700; line-height: 1.2; text-align: center; margin: 0; }

/* Deutsche Fehlerseite im PICO-Design. */
.pico-not-found { margin-block: 0 !important; padding: 165px 20px 95px; background: #fff; }
.pico-not-found__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .55fr); align-items: center; gap: 64px; width: 100%; max-width: var(--pico-width); margin: 0 auto; }
.pico-not-found__content > * { margin-left: 0; margin-right: 0; }
.pico-not-found__eyebrow { margin: 0 0 14px; color: #0f3e71; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pico-not-found__title { max-width: 18ch; margin: 0 0 24px; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.15; font-weight: 700; overflow-wrap: anywhere; }
.pico-not-found__text { max-width: 52ch; margin: 0 0 30px; font-size: 18px; line-height: 1.65; }
.pico-not-found__actions { gap: 12px; }
.pico-not-found__actions .wp-block-button__link { border: 2px solid #0f3e71; padding: 13px 22px; border-radius: 6px; font-size: 16px; line-height: 1.5; font-weight: 700; text-decoration: none; }
.pico-not-found__primary .wp-block-button__link { color: #fff; background: #0f3e71; }
.pico-not-found__secondary .wp-block-button__link { color: #0f3e71; background: #fff; }
.pico-not-found__actions .wp-block-button__link:hover { color: #fff; background: #092b50; border-color: #092b50; }
.pico-not-found__actions .wp-block-button__link:focus-visible { outline: 3px solid #0f3e71; outline-offset: 4px; }
.pico-not-found__code { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; width: 100%; max-width: 300px; margin: 0; border-radius: 50%; background: var(--pico-beige); color: #0f3e71; font-size: clamp(70px, 10vw, 120px); line-height: 1; font-weight: 700; letter-spacing: -.05em; }
@media (max-width: 767px) {
  .pico-not-found { padding: 120px 20px 65px; }
  .pico-not-found__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pico-not-found__text { font-size: 16px; }
  .pico-not-found__code { max-width: 170px; font-size: 72px; }
}

.pico-contact-panel__form .wpcf7-acceptance a,
.pico-b2b-page__form .wpcf7-acceptance a {
  color: inherit;
  text-decoration: underline;
}

/* Nährwerte-Akkordeon */
.nutrition { width: auto; max-width: 100%; }
.nutrition__row { width: 100%; display: flex; flex-direction: row; align-items: center; padding: 20px 0 15px; margin: 10px 0; cursor: pointer; list-style: none; }
.nutrition__row::-webkit-details-marker { display: none; }
.nutrition__row::marker { content: ""; display: none; }
.nutrition__icon { color: var(--pico-beige); margin-right: 8px; display: inline-flex; align-items: center; }
.nutrition__icon svg { width: 18px; height: 18px; fill: currentColor; transition: transform .3s; }
.nutrition[open] .nutrition__icon svg { transform: rotate(90deg); }
.nutrition__label { font-weight: 700; color: var(--pico-beige); }
.nutrition__content { width: 100%; padding: 8px; }
.nutrition__item { display: flex; flex-direction: row; gap: 30px; }
.nutrition__name { width: 300px; }
.nutrition__value { width: 150px; display: flex; flex-direction: column; align-items: flex-end; }

/* Bezugsquellen */
.sources__inner { display: flex; flex-direction: column; align-items: center; }
.sources__eyebrow { font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--pico-beige); margin: 0 0 10px; }
.sources__title { font-size: 30px; font-weight: 600; line-height: 1.2; margin: 0 0 15px; }
.sources__form { width: 100%; margin-top: 20px; }

/* Formular */
.pico-form__grid { display: flex; flex-wrap: wrap; }
.pico-form__half { width: 48%; margin-right: 4%; }
.pico-form__half--last { margin-right: 0; }
.pico-form__full { width: 100%; }
.pico-form input[type="text"], .pico-form input[type="email"], .pico-form textarea { width: 100%; padding: 20px; margin-bottom: 6px; border: none; background-color: whitesmoke; text-transform: uppercase; font-weight: 600; font-size: 14px; letter-spacing: 1.2px; color: var(--pico-beige); font-family: inherit; transition: .3s ease background, color; }
.pico-form textarea { height: 150px; resize: none; }
.pico-form ::placeholder { color: #000; }
.pico-form :focus { color: red; outline: 0; }
.pico-form :focus::placeholder { color: var(--pico-beige); }
.pico-form__consent { margin-bottom: 6px; }
.pico-form__consent-label { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 400; font-size: 16px; letter-spacing: normal; text-transform: none; }
.pico-form__consent-label input { margin: 0; flex: 0 0 auto; }
.pico-form__consent-label a { color: var(--pico-text); }
.pico-form__consent-label a:hover { color: var(--pico-beige); }
.pico-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.pico-form .wpcf7-acceptance .wpcf7-list-item label { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 400; font-size: 16px; letter-spacing: normal; text-transform: none; }
.pico-form .wpcf7-acceptance input { margin: 0; flex: 0 0 auto; }
.pico-form .wpcf7-acceptance a { color: var(--pico-text); }
.pico-form .wpcf7-acceptance a:hover { color: var(--pico-beige); }
.pico-form__submit { width: 100%; padding: 20px; border: none; background-color: whitesmoke; color: var(--pico-beige); text-transform: uppercase; font-weight: 600; font-size: 14px; letter-spacing: 1.2px; cursor: pointer; transition: .3s ease; }
.pico-form__submit:disabled { opacity: .5; cursor: not-allowed; }
.pico-form__submit:not(:disabled):hover { color: #fff; background-color: var(--pico-beige); }

/* CTA */
.cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__eyebrow { color: var(--pico-beige); font-size: 20px; font-weight: 600; line-height: 0.9; text-transform: uppercase; margin: 0 0 20px; }
.cta__title { font-size: 30px; font-weight: 600; line-height: 0.9; margin: 0; }
.cta__text { margin-top: 35px; text-align: center; }
.cta__text > p:first-child { margin-top: 0; }
.cta__text > p:last-child { margin-bottom: 0; }

/* Pfeil-Button */
.button-pfeil { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; text-align: left; }
.button-pfeil__icon { color: var(--pico-beige); margin-right: 5px; display: inline-flex; align-items: center; justify-content: center; transform: translateX(0); transform-origin: center center; will-change: transform; }
.button-pfeil__icon svg { width: 15px; height: 15px; fill: currentColor; }
.button-pfeil__text { color: var(--pico-beige); font-weight: 700; }
.button-pfeil:hover .button-pfeil__icon { animation: pico-button-pfeil .7s ease-out 1; }
@keyframes pico-button-pfeil {
  0% { transform: translateX(0); }
  18% { transform: translateX(8px); }
  36% { transform: translateX(0); }
  58% { transform: translateX(6px); }
  76% { transform: translateX(0); }
  100% { transform: translateX(0); }
}

/* Weitere Produkte */
.related__inner { display: flex; flex-direction: column; align-items: center; }
.related__head { width: 100%; display: flex; flex-direction: column; align-items: center; margin-bottom: 50px; }
.related__eyebrow { color: var(--pico-beige); font-size: 20px; font-weight: 600; line-height: 0.9; text-transform: uppercase; margin: 0 0 15px; }
.related__title { font-size: 30px; font-weight: 600; line-height: 0.9; margin: 0; }
.related__slider { width: 100%; height: 400px; }
.related__slider .swiper-button-prev, .related__slider .swiper-button-next { color: #0f3e71; }
.related__slider .swiper-button-prev::after, .related__slider .swiper-button-next::after { font-size: 32px; }
.related__slider .swiper-pagination-bullet-active { background-color: #f9f9fa; }
.product-slide { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: left; }
.product-slide__image { width: 80%; height: 300px; margin-bottom: 20px; background-size: contain; background-repeat: no-repeat; background-position: 50% 50%; }
.product-slide__body { display: flex; flex-direction: column; align-items: center; text-align: left; }
.product-slide__title { text-align: center; margin: 0 0 10px; color: #fff; font-size: 20px; font-weight: 600; line-height: 1.2; }
.product-slide__link { display: inline-block; background-color: transparent; border: 1px solid transparent; color: #fff; border-radius: 15px; margin-top: 20px; padding: 10px 25px; font-weight: 700; transition: border-color .3s ease; }
.product-slide__link:hover { color: #fff; }
.product-page .cta .button-pfeil,
.product-page .related .product-slide { text-decoration: none; }

@media (max-width: 991px) {
  .pico-header { height: 90px; background: #fff; }
  .pico-header__inner { min-height: 90px; padding: 0 28px; }
  .pico-header__nav, .pico-header__spacer { width: 25%; }
  .pico-header__logo { width: 50%; }
  .pico-header__logo img { height: 88px; }
  .pico-hero { margin-top: 0; min-height: 520px; height: min(680px, 76vh); align-items: flex-end; }
  .pico-hero__image { object-position: 66% center; }
  .pico-hero__inner { padding: 0 28px 44px; }
  .pico-hero__content { width: 100%; max-width: 500px; padding: 22px 24px 24px; background: rgb(255 255 255 / 90%); box-shadow: 0 12px 30px rgb(25 26 35 / 12%); }
  .pico-hero__title { font-size: clamp(38px, 6vw, 52px); line-height: 1.08; }
  .pico-hero__text { margin-top: 12px; font-size: 18px; }
  .pico-intro { padding-top: 0; }
  .pico-media-text__inner { flex-direction: column-reverse; }
  .pico-media-text__media, .pico-media-text__body { width: 100%; min-height: 0; aspect-ratio: auto; }
  .pico-media-text__media { height: 400px; }
  .pico-media-text__body { margin: 0; }
  .pico-intro__decoration { width: 175px; }
  .pico-intro__decoration:nth-of-type(1) { left: -30px; }
  .pico-intro__decoration:nth-of-type(2) { right: 0; }
  .pico-intro__decoration:nth-of-type(3) { display: none; }
  .pico-b2b .pico-media-text__inner { flex-direction: column-reverse; }
  .pico-b2b__cert { align-items: flex-start; }
  .product-detail__grid { flex-direction: column; }
  .product-detail__media { width: 100%; padding-right: 0; }
  .product-detail__body { width: 100%; padding-left: 0; padding-top: 30px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .pico-header { height: 78px; }
  .pico-header__inner { min-height: 78px; padding: 0 16px; }
  .pico-header__logo img { height: 76px; }
  .pico-hero__inner { padding: 0 16px 38px; }
  .pico-hero__content { max-width: 345px; padding: 18px 18px 20px; }
  .pico-hero__title { font-size: clamp(32px, 9.5vw, 43px); }
  .pico-hero__text { font-size: 16px; line-height: 1.5; }
  .product-detail__title { max-width: 100%; font-size: clamp(28px, 8vw, 36px); line-height: 1.15; overflow-wrap: anywhere; hyphens: auto; }
  .pico-panel { padding: 42px 20px 50px; }
  .pico-media-text__media { height: min(320px, 72vw); min-height: 250px; }
  .pico-eyebrow { font-size: 15px; }
  .pico-title-lg { margin-bottom: 20px; font-size: clamp(26px, 7.5vw, 32px); }
  .pico-section-heading__inner { padding: 72px 16px 18px; }
  .pico-section-heading__text { width: 100%; line-height: 1.6; }
  .pico-categories__inner { padding: 0 16px 52px; }
  .pico-category-slider { height: 625px; }
  .pico-category-slide { padding: 28px 0 48px; }
  .pico-category-link { transform: scale(.94); }
  .swiper-slide-active .pico-category-link { transform: scale(1); }
  .pico-category-card { width: 100%; min-height: 470px; padding: 24px 18px 22px; }
  .pico-category-card__shoutout { font-size: 12px; letter-spacing: .08em; }
  .pico-category-card__image { margin-bottom: 18px; }
  .pico-category-card__image img { width: 110%; margin-left: -5%; }
  .pico-category-card__bottom h3 { font-size: clamp(21px, 6vw, 26px); }
  .pico-category-card__description { max-width: 290px; margin: 8px auto 0; font-size: 13px; line-height: 1.45; }
  .pico-marquee { padding: 42px 0; }
  .pico-marquee__viewport { --pico-marquee-size: clamp(150px, 46vw, 210px); }
  .pico-footer__links-wrap > .pico-footer__links { margin-right: 0; }
  .pico-b2b__cert { gap: 12px; }
  .pico-b2b__cert-image { width: 66px; flex-basis: 66px; }
  .pico-form__half { width: 100%; margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pico-marquee__track { animation: none !important; }
  .pico-category-link, .pico-category-card__image img, .pico-arrow-link__icon { transition: none; }
}

/* Header navigation on tablet and mobile */
@media (min-width: 768px) and (max-width: 991px) {
	.pico-header:has(.wp-block-navigation__responsive-container.is-menu-open) .pico-header__logo {
		top: 25px;
		right: 75px;
		width: 100px;
		transform: none;
	}

	.pico-header:has(.wp-block-navigation__responsive-container.is-menu-open) .pico-header__logo img {
		height: 88px;
	}

	body.admin-bar .pico-header:has(.wp-block-navigation__responsive-container.is-menu-open) .pico-header__logo {
		top: calc(25px + var(--wp-admin--admin-bar--height, 32px));
	}

	body.admin-bar .pico-header .is-menu-open .wp-block-navigation__responsive-dialog {
		padding-top: calc(110px + var(--wp-admin--admin-bar--height, 32px));
	}

	body.admin-bar .pico-header .is-menu-open .wp-block-navigation__responsive-container-close {
		top: calc(24px + var(--wp-admin--admin-bar--height, 32px));
	}
}

@media (max-width: 767px) {
	.pico-header .wp-block-navigation__responsive-container-open {
		width: 48px;
		height: 48px;
		justify-content: flex-start;
	}

	.pico-header .wp-block-navigation__responsive-container-open svg {
		width: 26px;
		height: 26px;
	}

	.pico-header .is-menu-open .wp-block-navigation__responsive-dialog {
		padding: 96px 24px 32px;
		animation: pico-header-menu-enter .35s ease both;
	}

	.pico-header .is-menu-open .wp-block-navigation__responsive-container-close {
		top: 15px;
		left: 16px;
		width: 48px;
		height: 48px;
	}

	.pico-header .is-menu-open .wp-block-navigation__responsive-container-close svg {
		width: 26px;
		height: 26px;
	}

	.pico-header .is-menu-open .wp-block-navigation-item__content {
		padding: 16px 0;
		font-size: clamp(22px, 7vw, 28px);
	}

	body.admin-bar .pico-header:has(.wp-block-navigation__responsive-container.is-menu-open) .pico-header__logo {
		top: calc(18px + var(--wp-admin--admin-bar--height, 46px));
	}

	body.admin-bar .pico-header .is-menu-open .wp-block-navigation__responsive-dialog {
		padding-top: calc(96px + var(--wp-admin--admin-bar--height, 46px));
	}

	body.admin-bar .pico-header .is-menu-open .wp-block-navigation__responsive-container-close {
		top: calc(15px + var(--wp-admin--admin-bar--height, 46px));
	}
}

@keyframes pico-header-menu-enter {
	from { transform: translateX(-100%); }
	to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
	.pico-header .is-menu-open .wp-block-navigation__responsive-dialog {
		animation: none;
	}
}
