/*
Theme Name: PavoLente Europe
Theme URI: https://pavolente.de/
Author: PavoLente Europe
Description: A three-language European brand and product catalogue for PavoLente. Opens in German, with English and Turkish editions.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: pavolente-europe
Update URI: https://pavolente.de/
*/

:root {
	--paper: #faf7ef;
	--surface: #fffdf7;
	--sand: #eee8db;
	--ink: #27251f;
	--muted: #5c554b;
	--line: #ddd3c3;
	--red: #8a302c;
	--red-dark: #6c2422;
	--gold: #d6964b;
	--measure: 78rem;
	--gutter: clamp(1.25rem, 4vw, 4.75rem);
	--sans: "DM Sans", system-ui, sans-serif;
	--serif: "Instrument Serif", "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--sans); }
img { display: block; width: auto; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p, figure, dd { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
p { overflow-wrap: break-word; }
svg { display: block; width: 1.25em; height: 1.25em; }
.wrap { width: min(var(--measure), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
	white-space: nowrap; word-wrap: normal !important;
}
.skip-link:focus {
	position: fixed; top: .5rem; left: .5rem; z-index: 100;
	width: auto; height: auto; padding: .75rem; clip-path: none;
	background: var(--surface);
}
.eyebrow {
	display: flex; align-items: center; gap: .7rem;
	color: var(--red); font-size: .8125rem; font-weight: 750; line-height: 1.4; letter-spacing: .15em;
	text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.6rem; flex: 0 0 1.6rem; height: 1px; background: currentColor; }
.button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 3.4rem;
	padding: .8rem 1.55rem; border: 1px solid transparent; border-radius: .2rem;
	font-size: .9375rem; font-weight: 700; text-align: center; text-decoration: none;
	transition: background-color .18s ease, color .18s ease;
}
.button-primary { background: var(--red); color: var(--surface); }
.button-primary:hover { background: var(--red-dark); }
.button-primary:focus-visible { outline-color: var(--red-dark); }

.region-bar {
	display: flex; align-items: center; justify-content: center; gap: .53rem;
	background: #64302a; color: #fff5e8; min-height: 2.15rem;
	padding: .28rem var(--gutter); font-weight: 600; font-size: .8125rem;
	letter-spacing: .055em;
}
.region-bar svg { width: 1rem; height: 1rem; color: #efc893; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner {
	display: grid; grid-template-columns: minmax(7rem, 1fr) auto minmax(8.75rem, 1fr);
	align-items: center; column-gap: 1.5rem; min-height: 5rem;
}
.site-logo { justify-self: start; display: flex; align-items: center; min-height: 3rem; }
.wordmark { width: 7.35rem; max-height: 4.2rem; object-fit: contain; }
.site-nav, .language-nav { display: flex; align-items: center; }
.site-nav { gap: clamp(1.4rem, 3.4vw, 3.4rem); }
.site-nav a, .language-nav a, .footer-nav a { text-decoration: none; }
.site-nav a { padding: .75rem 0; font-size: .9375rem; font-weight: 650; }
.site-nav a:hover, .footer-nav a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.language-nav { gap: .18rem; justify-self: end; border: 1px solid var(--line); border-radius: 2rem; padding: .22rem; }
.language-nav a {
	display: grid; place-items: center; min-width: 2.3rem; min-height: 2.08rem;
	padding: .15rem .35rem; border-radius: 2rem; font-size: .8125rem; font-weight: 750; color: #4f493e;
}
.language-nav a:hover { background: var(--sand); }
.language-nav a[aria-current] { color: var(--surface); background: var(--red); }
.menu-toggle { display: none; }

.hero {
	display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
	background: var(--paper); min-height: clamp(30rem, 42vw, 40rem);
}
.hero-copy {
	align-self: center; padding: clamp(3.5rem, 6vw, 7rem) clamp(1.5rem, 4vw, 4.5rem)
		clamp(3.5rem, 6vw, 7rem) max(var(--gutter), calc((100vw - var(--measure)) / 2));
}
.hero h1 {
	margin: 1.4rem 0 1.2rem; font-size: clamp(3.5rem, 6.12vw, 7rem);
	line-height: .93; letter-spacing: -.033em;
}
.hero h1 em { color: var(--red); font-weight: 400; }
.intro { max-width: 29rem; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.18rem); line-height: 1.62; }
.hero .button { margin-top: 1.75rem; }
.hero-image { position: relative; min-height: 100%; background: #59533a; overflow: hidden; }
.hero-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image figcaption {
	position: absolute; right: 1.25rem; bottom: 1.05rem; padding: .36rem .65rem; border-radius: .18rem;
	background: #1f2019d9; color: #fffaf0; font-size: .75rem; letter-spacing: .035em;
}

.benefits { background: #efe7d7; border-bottom: 1px solid var(--line); }
.benefit-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); padding: 1.65rem 0; margin-block: 0; list-style: none; }
.benefit-list li { display: flex; align-items: flex-start; gap: .75rem; padding: .35rem clamp(.6rem, 1.65vw, 1.6rem); }
.benefit-list li:first-child { padding-left: 0; }
.benefit-list li + li { border-left: 1px solid #d8cbb7; }
.benefit-icon {
	display: grid; place-items: center; flex: 0 0 2.3rem; height: 2.3rem;
	border: 1px solid #cfbdae; border-radius: 50%; color: var(--red);
}
.benefit-icon svg { width: 1.05rem; height: 1.05rem; }
.benefit-list h2 { font: 750 .9375rem/1.25 var(--sans); margin: .12rem 0 .25rem; }
.benefit-list p { color: var(--muted); font-size: .875rem; line-height: 1.4; }

.catalogue { padding: clamp(4rem, 7vw, 7.4rem) 0; background: var(--surface); }
.catalogue-intro { text-align: center; margin-bottom: 1.9rem; }
.catalogue-intro .eyebrow { justify-content: center; }
.catalogue-intro .eyebrow::after { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.catalogue h2, .brand h2, .contact h2, .standard-content h1 {
	font-size: clamp(3rem, 5.6vw, 5.35rem); line-height: 1; letter-spacing: -.024em;
}
.catalogue-intro h2 { margin: .68rem auto .75rem; }
.catalogue-intro > p:last-child { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.9rem; }
.filters button {
	min-height: 2.65rem; border: 1px solid var(--line); border-radius: 2rem;
	padding: .4rem .95rem; background: transparent; cursor: pointer; font-size: .875rem; font-weight: 650;
}
.filters button:hover { border-color: var(--red); color: var(--red); }
.filters button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--surface); }
.filters button:focus-visible { outline-color: var(--red); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.85rem); }
.product-card { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: .35rem; }
.product-link { display: flex; height: 100%; flex-direction: column; text-decoration: none; }
.product-image {
	display: grid; place-items: center; aspect-ratio: 1.3;
	padding: clamp(1rem, 3vw, 2.6rem);
	border-radius: .3rem .3rem 0 0; overflow: hidden;
}
.product-image img { width: 75%; height: auto; filter: drop-shadow(0 .6rem .6rem #412a2529); transition: transform .25s ease; }
.product-link:hover img { transform: scale(1.045); }
.product-plain { background: #e4eeea; }
.product-pate { background: #e9e5df; }
.product-glutenfree { background: #f6e2d1; }
.product-grains { background: #e8e7f1; }
.product-fillet { background: #e9edde; }
.product-tandoori { background: #f3e3df; }
.product-info { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: 1.1rem 1.15rem; }
.product-info h3 { font-size: clamp(1rem, 1.55vw, 1.21rem); line-height: 1.25; font-weight: 750; }
.product-info p { font-size: .875rem; color: var(--muted); margin-top: .3rem; }
.product-open {
	display: grid; place-items: center; flex: 0 0 2.1rem; height: 2.1rem;
	color: var(--red); border: 1px solid #cec1af; border-radius: 50%; transition: color .2s, background .2s;
}
.product-open svg { width: .9rem; height: .9rem; }
.product-link:hover .product-open { background: var(--red); color: #fff; border-color: var(--red); }

.brand { background: #eee7d9; padding: clamp(3.75rem, 7vw, 7.6rem) 0; }
.brand-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.brand-image { width: 100%; aspect-ratio: 1.1; object-fit: cover; border-radius: .35rem; }
.brand h2 { margin: .85rem 0 1rem; }
.brand-copy > p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.4rem; }
.brand-detail { border-top: 1px solid #ccbfab; }
.brand-detail:last-child { border-bottom: 1px solid #ccbfab; }
summary { cursor: pointer; font-weight: 700; }
.brand-detail summary { padding: .85rem 0; }
.brand-detail p { padding: 0 0 .85rem; color: var(--muted); }

.contact { padding: clamp(3.75rem, 7vw, 7rem) 0; background: #69302a; color: #fff5e7; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.25rem, 7vw, 8rem); align-items: start; }
.contact .eyebrow { color: #f1c68c; }
.contact h2 { margin: .85rem 0 1.05rem; }
.contact-copy p:not(.eyebrow) { max-width: 31rem; color: #f7ddcb; }
.contact address { margin-top: 1.25rem; font-style: normal; }
.distribution-team { min-width: 0; align-self: center; border: 1px solid #aa7868; border-radius: .35rem; padding: clamp(1.2rem, 3vw, 2.25rem); }
.distribution-team h3 { margin-bottom: .85rem; font-size: .87rem; color: #f1c68c; text-transform: uppercase; letter-spacing: .1em; }
.distribution-team ul { list-style: none; margin: 0; padding: 0; }
.distribution-team li { display: grid; gap: .15rem; border-top: 1px solid #aa7868; padding: .85rem 0; }
.distribution-team li:last-child { padding-bottom: 0; }
.distribution-team strong { font-size: 1.08rem; }
.distribution-team li p { color: #f7ddcb; font-size: .9375rem; }
.distribution-team a { width: fit-content; padding: .25rem 0; }

.site-footer { background: #29231e; color: #f4ebde; padding: 2.2rem 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.footer-logo { display: block; width: 6.5rem; margin-bottom: .4rem; }
.footer-inner p { font-size: .875rem; color: #dfd2bf; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .85rem 1.65rem; font-size: .9375rem; }

.detail-shell { padding-block: clamp(1.9rem, 5vw, 4.3rem) clamp(3.5rem, 6vw, 6rem); }
.back-link { display: inline-flex; margin-bottom: 1.4rem; color: var(--red); font-size: .9375rem; font-weight: 700; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.detail-image { border-radius: .35rem; aspect-ratio: 1.12; }
.detail-image img { width: 85%; }
.detail-copy h1 { margin: .85rem 0; font-size: clamp(3.3rem, 5.6vw, 5.8rem); line-height: .99; letter-spacing: -.023em; }
.product-spec { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin: 1.2rem 0; font-weight: 700; }
.product-spec dd { color: var(--red); }
.package-note { color: var(--muted); margin-top: .75rem; font-size: .9375rem; }
.detail-copy .button { margin-top: 1.35rem; }
.recommendations h2 { margin-bottom: 1.5rem; }
.standard-content { max-width: 52rem; min-height: 55vh; padding-block: clamp(2.5rem, 6vw, 6rem); }
.standard-content h1 { margin-bottom: 1.25rem; }
.standard-content p, .standard-content h2, .standard-content h3 { margin-bottom: 1rem; }
.standard-content article + article { margin-top: 2rem; }
.standard-content img, .standard-content table { max-width: 100%; }

@media (max-width: 950px) {
	.hero h1 { font-size: clamp(3.05rem, 6.45vw, 5.5rem); }
	.benefit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .5rem 0; }
	.benefit-list li, .benefit-list li:first-child { padding: .85rem .8rem; }
	.benefit-list li:nth-child(odd) { border-left: none; padding-left: 0; }
	.benefit-list li:nth-child(n+3) { border-top: 1px solid #d8cbb7; }
	.brand-grid { gap: 2.25rem; }
}

@media (max-width: 760px) {
	.header-inner { grid-template-columns: minmax(3rem, 1fr) auto auto; min-height: 4.15rem; gap: 0 .55rem; }
	.wordmark { width: 5.8rem; max-height: 3.45rem; }
	.language-nav { grid-row: 1; grid-column: 2; gap: 0; }
	.language-nav a { min-width: 2.03rem; min-height: 1.9rem; }
	.menu-toggle {
		display: grid; place-items: center; width: 2.65rem; min-height: 2.65rem; grid-column: 3;
		border: 1px solid var(--line); border-radius: .2rem; color: var(--red); background: transparent; cursor: pointer;
	}
	.site-nav { grid-column: 1 / -1; flex-wrap: wrap; gap: 0 1.2rem; padding: .35rem 0; border-top: 1px solid var(--line); }
	.site-nav.is-collapsible { display: none; }
	.site-nav.is-open { display: flex; }
	.hero { grid-template-columns: 1fr; }
	.hero-copy { padding: 2.55rem var(--gutter) 2.75rem; }
	.hero h1 { font-size: clamp(3.65rem, 12.1vw, 5.5rem); margin: .95rem 0 .9rem; }
	.hero .button { margin-top: 1.3rem; }
	.hero-image { min-height: clamp(15rem, 65vw, 29rem); }
	.brand-grid, .detail-grid, .contact-inner { grid-template-columns: 1fr; }
	.brand-image { max-height: 30rem; }
	.detail-image { max-width: 34rem; }
	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-image img { width: 84%; }
	.product-info { padding: .75rem; }
	.product-open { flex-basis: 1.72rem; height: 1.72rem; }
	.footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
	.hero h1 { font-size: clamp(3.1rem, 12vw, 3.65rem); }
	.benefit-list li, .benefit-list li:first-child { gap: .46rem; }
	.benefit-icon { flex-basis: 1.75rem; height: 1.75rem; }
	.product-open { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.benefit-list li > div, .product-info > div { min-width: 0; }
.benefit-list h2, .product-info h3 { overflow-wrap: anywhere; hyphens: auto; }
