/*
Theme Name: Maizer
Description: Maizer group website: home, veterinary and agriculture divisions, catalogue and product pages, about, partners, careers, media & stories, financial highlights, batch check. French and English (Polylang).
Version: 3.0.2
Requires at least: 6.0
Requires PHP: 7.4
Author: Maizer
Text Domain: maizer
*/

:root {
	--mz-navy: #0f2040;
	--mz-ink: #162019;
	--mz-muted: #545961;
	--mz-line: rgba(15, 32, 64, 0.14);
	--mz-tint: #f5f9ff;
	--mz-soft: #f8faf9;
	--mz-photo: #667085;
	--mz-max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #fff;
	color: var(--mz-ink);
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 14px;
	line-height: 1.43;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.mz-container { max-width: var(--mz-max); margin: 0 auto; padding: 0 32px; }

/* Buttons */
.mz-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 46px; padding: 0 20px; font: 600 14px/20px 'Inter', sans-serif;
	border: 1px solid transparent; cursor: pointer;
}
.mz-btn--white { background: #fff; color: var(--mz-navy); }
.mz-btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: transparent; }
.mz-btn--navy { background: var(--mz-navy); color: #fff; font-weight: 700; height: 44px; }
.mz-btn--block { width: 100%; }
.mz-btn img { width: 16px; height: 16px; }

/* Section label */
.mz-label {
	display: inline-block; border-left: 2px solid var(--mz-line);
	padding: 4px 12px 4px 14px; font-size: 11px; line-height: 16.5px;
	font-style: italic; color: var(--mz-muted);
}

/* Hero */
.mz-hero { background: var(--mz-navy); color: #fff; }
.mz-hero .mz-container { display: flex; align-items: flex-start; gap: 72px; padding-top: 80px; padding-bottom: 80px; }
.mz-hero__text { flex: 0 1 617px; max-width: 672px; padding-top: 46px; }
.mz-hero h1 { font-size: 72px; line-height: 73.44px; font-weight: 800; }
.mz-hero__sub { padding-top: 16px; font-size: 20px; line-height: 28px; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.mz-hero__desc { padding-top: 20px; max-width: 576px; font-size: 14px; line-height: 28px; color: rgba(255, 255, 255, 0.75); }
.mz-hero__actions { display: flex; gap: 12px; padding-top: 32px; }
.mz-hero__media { flex: 1 1 559px; height: 426px; background: var(--mz-photo); overflow: hidden; }
.mz-hero__media img { width: 100%; height: 100%; object-fit: contain; }

/* Breadcrumb */
.mz-crumbs { border-bottom: 1px solid var(--mz-line); }
.mz-crumbs .mz-container { padding-top: 20px; padding-bottom: 20px; font-size: 12px; line-height: 16px; color: var(--mz-muted); }
.mz-crumbs strong { font-weight: 400; color: var(--mz-ink); }

/* Product body */
.mz-product { padding: 48px 0; }
.mz-product__grid { display: grid; grid-template-columns: minmax(0, 804px) 380px; gap: 32px; margin-top: 16px; align-items: start; }
.mz-card { background: #fff; border: 1px solid var(--mz-line); padding: 25px; }
.mz-card--soft { background: var(--mz-soft); }
.mz-card h3 { font-size: 18px; line-height: 27px; font-weight: 700; }
.mz-side { display: flex; flex-direction: column; gap: 20px; }
.mz-code { padding-top: 8px; font-size: 30px; line-height: 36px; font-weight: 800; color: var(--mz-navy); }
.mz-side .mz-btn { margin-top: 20px; }
.mz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mz-chip { border: 1px solid var(--mz-line); border-radius: 999px; padding: 5px 13px; font-size: 12px; line-height: 16px; }
.mz-trust { list-style: none; margin: 0; padding: 4px 0 0; }
.mz-trust li { display: flex; align-items: center; gap: 12px; padding-top: 12px; line-height: 20px; }
.mz-trust img { width: 16px; height: 16px; }

.mz-main h2 { font-size: 24px; line-height: 32px; font-weight: 700; }
.mz-main .mz-sub { padding-top: 4px; font-weight: 700; line-height: 20px; }
.mz-table { margin-top: 20px; border: 1px solid var(--mz-line); padding: 1px; }
.mz-table div { display: flex; justify-content: space-between; height: 36px; align-items: center; padding: 0 16px; background: #fff; }
.mz-table div:nth-child(even) { background: var(--mz-tint); color: var(--mz-navy); }
.mz-table b { font-weight: 700; }
.mz-article { margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--mz-line); }
.mz-article h3 { font-size: 20px; line-height: 28px; font-weight: 700; }
.mz-article p { max-width: 768px; padding-top: 12px; line-height: 28px; color: var(--mz-muted); }

/* Verify */
.mz-verify { background: var(--mz-navy); color: #fff; padding: 56px 0; text-align: center; }
.mz-verify__box { max-width: 768px; margin: 0 auto; padding: 0 20px; }
.mz-verify h2 { font-size: 30px; line-height: 36px; font-weight: 800; }
.mz-verify p { padding-top: 12px; line-height: 20px; color: rgba(255, 255, 255, 0.75); }
.mz-verify form { display: flex; margin-top: 24px; background: #fff; padding: 4px; height: 52px; }
.mz-verify input { flex: 1; min-width: 0; border: 0; padding: 0 16px; font: 14px 'Inter', sans-serif; color: var(--mz-ink); outline: none; }
.mz-verify input::placeholder { color: rgba(22, 32, 25, 0.5); }
.mz-verify button { border: 0; background: var(--mz-navy); color: #fff; font: 700 14px 'Inter', sans-serif; padding: 0 20px; cursor: pointer; }

/* Resources */
.mz-resources { padding: 56px 0; }
.mz-resources__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; }
.mz-resources .mz-card > img { width: 24px; height: 24px; }
.mz-resources h3 { padding-top: 32px; }
.mz-resources p { padding-top: 12px; line-height: 24px; color: var(--mz-muted); }
.mz-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; color: var(--mz-navy); line-height: 20px; }
.mz-link img { width: 16px; height: 16px; }

@media (max-width: 1024px) {
	.mz-hero .mz-container { flex-direction: column; gap: 40px; }
	.mz-hero__text { flex: none; width: 100%; padding-top: 0; }
	.mz-hero__media { width: 100%; flex: none; }
	.mz-product__grid { grid-template-columns: 1fr; }
	.mz-resources__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.mz-container { padding: 0 20px; }
	.mz-hero h1 { font-size: 48px; line-height: 52px; }
	.mz-hero__actions { flex-wrap: wrap; }
}

/* ---------- Shared blocks ---------- */
.mz-hero--slim .mz-container { padding-top: 56px; padding-bottom: 56px; }
.mz-hero--slim .mz-hero__text { padding-top: 0; flex: 1 1 auto; }
.mz-hero--slim h1 { font-size: 56px; line-height: 60px; }
.mz-crumbs a:hover { text-decoration: underline; }
.mz-grid { display: grid; gap: 20px; margin-top: 16px; }
.mz-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mz-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mz-pcard, .mz-catcard { display: flex; flex-direction: column; }
.mz-pcard:hover, .mz-catcard:hover { border-color: var(--mz-navy); }
.mz-pcard__img { height: 180px; background: var(--mz-photo); margin: -25px -25px 20px; overflow: hidden; width: calc(100% + 50px); }
.mz-pcard__img { background: #eef2f7; }
.mz-pcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.mz-pcard__code { font-size: 11px; color: var(--mz-muted); font-style: italic; padding-bottom: 8px; }
.mz-pcard p, .mz-catcard p { padding-top: 8px; line-height: 24px; color: var(--mz-muted); }
.mz-pcard .mz-link, .mz-catcard .mz-link { margin-top: auto; padding-top: 20px; }
.mz-empty { padding: 24px 0; color: var(--mz-muted); }
.mz-article--first { margin-top: 0; padding-top: 0; border-top: 0; }
.mz-main > h2:first-child { margin-top: 0; }
.mz-prose { line-height: 28px; color: var(--mz-muted); }
.mz-prose h2, .mz-prose h3 { color: var(--mz-ink); margin: 24px 0 8px; }
.mz-prose > :first-child { margin-top: 0; }
.mz-prose p { margin: 0 0 16px; }
.mz-prose img { height: auto; margin-bottom: 24px; }
.mz-label + .mz-grid { margin-top: 16px; }
.mz-product .mz-label { display: inline-block; }
.mz-notice { padding: 16px 20px; border: 1px solid var(--mz-line); margin-bottom: 20px; }
.mz-notice--ok { background: var(--mz-tint); color: var(--mz-navy); }
.mz-notice--err { background: #fff6f6; color: #7a1f1f; }
.mz-form label { display: block; font-weight: 600; margin-bottom: 16px; }
.mz-form input, .mz-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--mz-line); font: 14px 'Inter', sans-serif; color: var(--mz-ink); }
.mz-form input:focus, .mz-form textarea:focus { outline: 2px solid var(--mz-navy); outline-offset: -1px; }
.mz-hp { position: absolute; left: -9999px; }
.mz-filter { margin: 16px 0 4px; }
.mz-filter .mz-chip:hover { border-color: var(--mz-navy); }
.mz-filter .mz-chip.is-active { background: var(--mz-navy); border-color: var(--mz-navy); color: #fff; }
.pagination { margin-top: 24px; }
.pagination .page-numbers { padding: 6px 12px; border: 1px solid var(--mz-line); margin-right: 4px; }
.pagination .current { background: var(--mz-navy); color: #fff; }

@media (max-width: 1024px) {
	.mz-grid--3, .mz-grid--2 { grid-template-columns: 1fr; }
	.mz-hero--slim h1 { font-size: 40px; line-height: 44px; }
}
