/*
Theme Name: MSM Pet Food Maroc
Theme URI: https://msmpetfood.com/
Author: MSM Pet Food Maroc
Author URI: https://msmpetfood.com/
Description: Thème WordPress officiel et responsive pour MSM Pet Food Maroc. Nutrition avancée, savoir-faire et fabrication italiens.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: msm-pet-food-maroc
*/

@font-face {
  font-display: swap;
  font-family: 'Oxanium';
  font-style: normal;
  font-weight: 200 800;
  src: url('assets/fonts/oxanium-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: 'Oxanium';
  font-style: normal;
  font-weight: 200 800;
  src: url('assets/fonts/oxanium-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: #ffffff;
  --foreground: #163b66;
  --card: #ffffff;
  --card-foreground: #163b66;
  --popover: #ffffff;
  --popover-foreground: #163b66;
  --primary: #173D6A;
  --primary-foreground: #ffffff;
  --secondary: #f0f5f9;
  --secondary-foreground: #163b66;
  --muted: #f0f5f9;
  --muted-foreground: #536778;
  --accent: #e8eff6;
  --accent-foreground: #163b66;
  --destructive: #b13131;
  --border: #d8e1e8;
  --input: #c5d3df;
  --ring: #37689d;
  --radius: .4rem;
  --blue: #173D6A;
  --ink: #133558;
  --soft: #edf3f8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: white;
  font-family: "Oxanium", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

button, a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

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

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  letter-spacing: normal;
  font-family: "Oxanium", Arial, Helvetica, sans-serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.7rem, 5.5vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

h3 {
  font-size: 1.65rem;
}

p {
  color: #526474;
}

p + p {
  margin-top: 1.15em;
}

:focus-visible {
  outline: 3px solid #db9500;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: #fff;
  padding: 1rem;
}

.skip-link:focus {
  top: 0;
}

.wrap {
  max-width: 1360px;
  padding-inline: 64px;
  margin-inline: auto;
}

/* Header & Navigation */
.topline {
  padding: 8px 4.5%;
  background: var(--blue);
  color: #fff;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .13em;
}

.topline span:last-child {
  letter-spacing: .04em;
}

.header {
  height: 108px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-inline: 4.5%;
  background: white;
  border-bottom: 1px solid #e3e9ee;
  position: relative;
  z-index: 30;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand img {
  width: 82px;
  height: 74px;
  object-fit: contain;
}

.brand > span {
  border-inline-start: 1px solid #bfcbd7;
  padding-inline-start: 15px;
  font-size: 12px;
  letter-spacing: .2em;
}

.desktop-nav {
  display: flex;
  gap: 25px;
  margin-inline-start: auto;
  align-items: center;
}

.desktop-nav a {
  font-size: 14px;
  white-space: nowrap;
  padding-block: 12px;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.desktop-nav li.current-menu-item > a {
  border-color: var(--blue);
}

.desktop-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-contact {
  font-size: 14px;
  display: flex;
  gap: 9px;
  align-items: center;
  font-weight: 600;
  border-inline-start: 1px solid #d5dfe8;
  padding-inline-start: 25px;
}

.mobile-menu-trigger {
  display: none;
  background: none;
  border: 0;
  min-height: 48px;
  min-width: 48px;
  padding: 8px;
  color: var(--blue);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 43, 73, 0.45);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}

.mobile-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 90vw;
  background: #fff;
  z-index: 999;
  padding: 32px 28px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}

.mobile-drawer.is-active {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.mobile-drawer-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue);
}

.mobile-drawer-desc {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-top: 4px;
}

.mobile-drawer-close {
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: var(--ink);
}

.mobile-drawer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer-nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
}

/* General Typography & Elements */
.eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
  display: block;
  color: var(--blue);
}

.button {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 23px;
  min-height: 52px;
  background: var(--blue);
  color: white;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--blue);
  transition: background .2s, border-color .2s;
}

.button:hover {
  background: #14355b;
}

.button.light {
  background: white;
  color: var(--blue);
  border-color: white;
}

.button.light:hover {
  background: #f0f5f9;
}

.button.outline {
  background: transparent;
  color: var(--blue);
}

.button.outline:hover {
  background: var(--soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-block: 10px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.section {
  padding-block: 105px;
}

.section.soft {
  background: var(--soft);
}

.section-topless {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 46px;
}

.section-head p {
  max-width: 430px;
}

/* Layout Grids */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 645px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #123a61;
  color: white;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,33,57,.88), rgba(12,34,56,.65) 38%, rgba(9,32,56,.04) 77%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 65px;
}

.hero .eyebrow {
  color: #dbe8f5;
}

.hero h1 {
  max-width: 720px;
}

.hero p {
  max-width: 420px;
  color: #e4eaf0;
  font-size: 17px;
  margin-top: 27px;
}

.hero .text-link {
  color: white;
}

.hero-bottom {
  position: absolute;
  inset-inline-end: 5%;
  bottom: 33px;
  z-index: 1;
  font-size: 12px;
  letter-spacing: .12em;
}

.hero--cat .hero-media {
  position: absolute;
  inset: 0;
  display: block;
}

.hero--cat .hero-img {
  object-position: left 35%;
}

/* Trust Strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 26px;
  border-bottom: 1px solid var(--border);
}

.trust-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
}

.trust-strip div + div {
  border-inline-start: 1px solid var(--border);
}

/* Cards & Components */
.range-card {
  background: #f4f7fa;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 32px;
  transition: transform .25s;
}

.range-card:hover {
  transform: translateY(-4px);
}

.range-card .card-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.range-card .tag {
  font-size: 12px;
  color: #526778;
}

.range-card img {
  height: 245px;
  width: 100%;
  object-fit: contain;
  margin: 20px 0;
}

.range-card h3 {
  font-size: 1.8rem;
}

.range-card p {
  font-size: 14px;
  margin-top: 10px;
}

.range-card .circle-arrow {
  position: absolute;
  inset-inline-end: 30px;
  bottom: 33px;
}

.circle-arrow {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccd9e3;
  border-radius: 50%;
}

.availability-note {
  margin-top: 25px;
  font-size: 14px;
  max-width: 820px;
}

.editorial-image {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.editorial-copy p {
  margin-top: 26px;
}

.numbered {
  display: flex;
  gap: 20px;
  padding-block: 22px;
  border-bottom: 1px solid var(--border);
}

.numbered span {
  font-size: 14px;
  color: #6783a0;
}

.numbered h3 {
  font-size: 1.3rem;
  letter-spacing: -.02em;
}

.numbered p {
  font-size: 15px;
  margin-top: 7px;
}

.formula-card {
  padding: 40px;
  border: 1px solid var(--border);
  height: 100%;
  background: #fff;
}

.formula-card img {
  height: 90px;
  width: 240px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 35px;
}

.formula-card h3 {
  margin-bottom: 18px;
}

.formula-card p {
  max-width: 470px;
}

.professional-band {
  background: var(--blue);
  padding: 65px;
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: center;
}

.professional-band h2 {
  max-width: 600px;
}

.professional-band p {
  color: #dce6ef;
  max-width: 560px;
  margin-top: 18px;
}

/* Page Intro & Common */
.page-intro {
  padding-block: 32px 70px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  font-size: 12px;
  color: #66788a;
  margin-bottom: 62px;
}

.page-intro h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
}

.page-intro > p {
  max-width: 760px;
  margin-top: 29px;
  font-size: 19px;
}

.intro-copy {
  margin-top: 25px;
  max-width: 720px;
}

.source-link {
  font-size: 12px !important;
  margin-top: 30px !important;
  color: #6a7b8d;
}

.source-link a {
  border-bottom: 1px solid #a6b4c2;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 55px;
}

.timeline > div {
  border-top: 1px solid #bfceda;
  padding-top: 20px;
}

.timeline span {
  font-size: 2.4rem;
  letter-spacing: -.05em;
  font-weight: 500;
}

.timeline p {
  font-size: 15px;
  margin-top: 10px;
}

.contact-band {
  padding-block: 60px;
  margin-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.contact-band h2 {
  font-size: 2.2rem;
}

.note {
  padding: 25px 30px;
  border-inline-start: 3px solid var(--blue);
  background: #f0f5f9;
  margin-block: 35px;
}

.note p {
  font-size: 15px;
  margin-top: 8px;
}

.stats {
  display: flex;
  gap: 80px;
  margin-top: 42px;
}

.stats > div {
  display: flex;
  flex-direction: column;
}

.stats strong {
  font-size: 4.5rem;
  font-weight: 400;
  letter-spacing: -.06em;
}

.stats span {
  font-size: 14px;
}

.formula-detail {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 65px;
  padding-bottom: 100px;
}

.formula-detail > img {
  max-height: 230px;
  width: 230px;
  object-fit: contain;
  margin-top: 15px;
}

.ingredient-list {
  margin-top: 35px;
}

.ingredient-list > div {
  border-top: 1px solid var(--border);
  padding-block: 25px;
}

.ingredient-list h3 {
  font-size: 1.25rem;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.market-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.market-card {
  border: 1px solid var(--border);
  padding: 45px;
  background: #fff;
}

.market-card.local {
  background: var(--soft);
  border-color: var(--soft);
}

.market-card h2 {
  font-size: 2.6rem;
}

.market-card p {
  margin-block: 25px;
}

.animals-banner {
  margin-block: 55px;
  min-height: 180px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.professional-points {
  gap: 45px;
}

.professional-points h2 {
  font-size: 1.5rem;
  letter-spacing: -.02em;
}

.professional-points p {
  margin-top: 20px;
}

/* Contact Links */
.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  min-width: 0;
}

.contact-links > a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  font-size: 15px;
  transition: background .2s;
}

.contact-links > a:hover {
  background: var(--soft);
}

.contact-links > a > svg {
  flex-shrink: 0;
}

.contact-links > a > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
}

.contact-links strong {
  font-size: 14px;
  font-weight: 600;
}

.contact-links > a > span > span {
  font-size: 14px;
}

.contact-info {
  margin-block: 38px;
  padding-block: 30px;
  border-block: 1px solid var(--border);
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.contact-info p {
  font-size: 15px;
}

.contact-info a {
  display: block;
  margin-top: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Enquiry Form */
.enquiry-box {
  padding: 37px;
  background: white;
  border: 1px solid var(--border);
}

.enquiry-box h2 {
  font-size: 2rem;
}

.form-notice {
  background: #edf3f8;
  color: #3a5873;
  padding: 15px;
  font-size: 14px;
  margin-block: 24px;
}

.enquiry-box label {
  font-size: 14px;
  display: block;
  margin: 19px 0 8px;
}

.enquiry-box .form-select {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: #fff;
}

.enquiry-box input,
.enquiry-box textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.enquiry-box fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.enquiry-box fieldset:disabled input,
.enquiry-box fieldset:disabled textarea {
  background: #f5f7fa;
  opacity: 1;
  min-height: 46px;
}

.enquiry-box fieldset:disabled label {
  color: #586e82;
}

.enquiry-box button:disabled {
  background: #dce4ec;
  color: #4f6274;
  border-color: #dce4ec;
  cursor: not-allowed;
  margin-top: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.form-privacy {
  font-size: 12px;
  margin-top: 18px;
}

.form-privacy a {
  text-decoration: underline;
}

.selected-product {
  font-size: 14px;
  margin-top: 18px;
}

.enquiry-direct-actions {
  margin-top: 0;
  margin-bottom: 25px;
  gap: 12px;
}

/* Legal Copy */
.legal-copy {
  max-width: 920px;
  margin-inline: auto;
}

.legal-copy h2 {
  font-size: 1.7rem;
  margin-block: 40px 18px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

/* International Catalogue */
.catalogue-filter {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.1fr 1.1fr 45px;
  align-items: end;
  gap: 22px;
  padding: 27px;
  background: var(--soft);
}

.catalogue-filter label, .filter-label {
  font-size: 12px;
  display: block;
  margin-bottom: 9px;
  color: #526778;
}

.catalogue-filter select {
  width: 100%;
  min-height: 48px;
  background: white;
  font-size: 14px;
  border: 1px solid var(--border);
  padding: 8px 12px;
}

.catalogue-species strong {
  display: block;
  padding-block: 9px;
  font-size: 17px;
  font-weight: 500;
}

.reset-filter {
  border: 1px solid #c4d2df;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  background: white;
  width: 48px;
}

.catalogue-count {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-block: 30px;
  font-size: 13px;
  color: #5e7387;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px 25px;
}

.product-image {
  position: relative;
  background: #f3f6f9;
  padding: 45px 20px 20px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 285px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .3s;
}

.product-card:hover .product-image img {
  transform: scale(1.045);
}

.product-range {
  position: absolute;
  top: 19px;
  inset-inline-start: 22px;
  font-size: 11px;
  letter-spacing: .13em;
}

.product-image .circle-arrow {
  position: absolute;
  bottom: 20px;
  inset-inline-end: 20px;
  background: white;
}

.product-card-copy {
  padding: 22px 5px;
}

.product-species {
  font-size: 12px;
  display: block;
  margin-bottom: 12px;
  color: #587087;
}

.product-card h2 {
  font-size: 1.45rem;
  letter-spacing: -.025em;
  line-height: 1.22;
  margin-bottom: 13px;
}

.product-card p {
  font-size: 14px;
}

.formula-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  background: #eaf1f7;
  padding: 5px 10px;
  letter-spacing: .025em;
}

.empty-result {
  padding: 60px 25px;
  text-align: center;
  border: 1px solid var(--border);
}

.empty-result h2 {
  font-size: 1.7rem;
}

.empty-result p {
  margin: 20px;
}

.product-breadcrumb {
  margin-block: 28px 40px;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-bottom: 80px;
}

.product-photo {
  background: #f3f6f9;
  align-self: start;
  padding: 30px;
}

.product-photo img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-photo p {
  font-size: 12px;
  text-align: center;
  margin-top: 14px;
}

.product-overview h1 {
  font-size: clamp(2.4rem, 3.6vw, 3.6rem);
  line-height: 1.09;
}

.product-stage {
  font-size: 14px;
  color: #476582;
  margin-top: 18px;
}

.product-description {
  margin-top: 25px;
  font-size: 16px;
}

.product-facts {
  margin-block: 30px;
}

.product-facts > div {
  padding-block: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.product-facts dt {
  font-size: 13px;
  color: #5d7286;
}

.product-facts dd {
  font-size: 14px;
  text-align: end;
  margin: 0;
}

.local-availability {
  font-size: 13px;
  padding: 17px 20px;
  background: #eef3f7;
}

.local-availability p {
  margin-top: 3px;
  font-size: 13px;
}

.product-overview .actions {
  gap: 12px;
  margin-top: 24px;
}

.technical-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 75px;
}

.technical-aside p {
  font-size: 14px;
}

.technical-aside p + p {
  margin-top: 20px;
}

/* Accordion Component */
.product-details h2 {
  font-size: 2.3rem;
  margin-bottom: 30px;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  background: none;
  border: 0;
  text-align: start;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.accordion-trigger:after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform .2s ease;
}

.accordion-item.is-open .accordion-trigger:after {
  content: "−";
}

.accordion-content {
  display: none;
  padding-bottom: 24px;
  font-size: 15px;
  line-height: 1.85;
}

.accordion-item.is-open .accordion-content {
  display: block;
}

.product-details table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.65;
}

.product-details th {
  color: var(--ink);
  font-weight: 500;
  text-align: left;
}

.product-details td, .product-details th {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
}

.product-details tbody tr:nth-child(odd) {
  background: #f2f6fa;
}

.feeding-scroll {
  font-size: 12px !important;
  margin-block: 14px;
}

.feeding-table-container {
  overflow-x: auto;
}

.feeding-table {
  min-width: 860px;
}

.feeding-table th:first-child {
  min-width: 200px;
}

.feeding-note {
  margin-top: 25px;
  font-size: 13px !important;
}

.back-link {
  padding-bottom: 65px;
}

/* News / Actualités */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px 30px;
}

.news-card {
  border-bottom: 1px solid var(--border);
  padding-bottom: 30px;
}

.news-image {
  height: 230px;
  background: #f0f4f8;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.news-card:hover img {
  transform: scale(1.025);
}

.news-copy {
  padding-top: 25px;
}

.news-copy .eyebrow {
  font-size: 10px;
  margin-bottom: 12px;
}

.news-copy time {
  font-size: 12px;
  color: #64798d;
  display: block;
  margin-bottom: 17px;
}

.news-copy h2 {
  font-size: 1.65rem;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.news-copy .text-link {
  margin-top: 17px;
}

.news-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 55px;
  padding-bottom: 45px;
}

.news-feature .news-image {
  height: 360px;
}

.news-feature h2 {
  font-size: 2.8rem;
}

.news-feature .news-copy {
  padding: 0;
}

.article {
  padding-block: 30px 90px;
}

.article h1 {
  font-size: clamp(2.7rem, 4.5vw, 4.4rem);
  max-width: 1050px;
}

.article-date {
  font-size: 14px;
  margin-top: 30px;
}

.article-image {
  width: 100%;
  max-height: 580px;
  object-fit: contain;
  object-position: center;
  background: #f0f4f8;
  margin-block: 45px;
}

.article-body {
  max-width: 770px;
  margin-inline: auto;
  font-size: 18px;
}

.article-context {
  font-size: 13px;
  border-top: 1px solid var(--border);
  padding-top: 25px;
  margin-top: 35px !important;
}

.article-body > .text-link {
  margin-top: 25px;
}

.documents-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
}

.documents-grid a {
  padding: 18px 22px;
  border: 1px solid var(--border);
  font-size: 14px;
  display: flex;
  gap: 25px;
  align-items: center;
}

/* Footer */
.footer {
  background: #0e2b49;
  color: white;
  padding-top: 75px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 60px;
}

.footer h2 {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 600;
  margin: 8px 0 23px;
}

.footer a:not(.brand) {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  color: #d5e0ea;
}

.footer a:not(.brand):hover {
  color: #ffffff;
}

.footer p {
  font-size: 15px;
  line-height: 1.8;
  color: #b8c9d9;
}

.footer-brand {
  margin-bottom: 23px;
}

.footer-brand img {
  width: 105px;
  height: 86px;
  object-fit: contain;
}

.footer .contact-links-compact {
  gap: 4px;
  margin-top: 22px;
}

.footer .contact-links-compact > a {
  display: flex;
  min-height: 44px;
  padding: 7px 0;
  border: 0;
  margin: 0;
  gap: 10px;
  font-size: 14px;
}

.footer .contact-links-compact > a:hover {
  background: transparent;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  padding-block: 24px;
  border-top: 1px solid #2e4760;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 12px;
  color: #b7c8d8;
}

.footer-bottom div {
  display: flex;
  gap: 28px;
}

.footer-bottom a:not(.brand) {
  font-size: 12px;
  margin: 0;
}

/* Responsive Media Queries */
@media (min-width: 1600px) {
  .hero-img {
    object-position: center 46%;
  }
}

@media (min-width: 961px) {
  .hero--cat h1 {
    font-size: clamp(2.7rem, 5vw, 4.2rem);
  }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .hero--cat .hero-img {
    object-position: 25% center;
  }
  .hero--cat h1 {
    max-width: 650px;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .hero--cat .hero-img {
    object-position: 38% center;
  }
  .hero--cat h1 {
    font-size: clamp(2.8rem, 5vw, 3.5rem);
    max-width: 56%;
  }
  .hero--cat p {
    max-width: 47%;
  }
  .hero--cat .actions {
    max-width: 55%;
  }
}

@media (max-width: 1180px) {
  .header {
    gap: 20px;
  }
  .desktop-nav {
    gap: 15px;
  }
  .brand > span {
    display: none;
  }
  .nav-contact {
    padding-inline-start: 16px;
  }
  .wrap {
    padding-inline: 40px;
  }
}

@media (max-width: 960px) {
  .desktop-nav, .nav-contact {
    display: none;
  }
  .mobile-menu-trigger {
    display: block;
    margin-inline-start: auto;
  }
  .header {
    height: 88px;
  }
  .brand > span {
    display: inline;
  }
  .hero {
    min-height: 600px;
  }
  .hero h1 {
    font-size: 4.1rem;
  }
  .grid2 {
    gap: 35px;
  }
  .grid3 {
    gap: 16px;
  }
  .range-card {
    padding: 24px;
    min-height: 400px;
  }
  .range-card img {
    height: 210px;
  }
  .range-card h3 {
    font-size: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .professional-band {
    padding: 40px;
  }
  .professional-band h2 {
    font-size: 2.5rem;
  }
  .trust-strip {
    padding-inline: 25px;
  }
  .trust-strip div {
    font-size: 12px;
    gap: 8px;
  }
  .formula-detail {
    grid-template-columns: 180px 1fr;
    gap: 35px;
  }
  .market-card {
    padding: 30px;
  }
  .market-card h2 {
    font-size: 2.2rem;
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalogue-filter {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .catalogue-species {
    grid-column: 1 / -1;
  }
  .catalogue-count {
    flex-direction: column;
    gap: 5px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-hero {
    gap: 35px;
  }
  .product-photo img {
    height: 400px;
  }
  .technical-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 30px;
  }
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-feature {
    gap: 30px;
  }
  .news-feature h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding-inline: 23px;
  }
  .topline {
    padding: 7px 23px;
    font-size: 10px;
    letter-spacing: .1em;
  }
  .topline span:last-child {
    display: none;
  }
  .header {
    padding-inline: 23px;
    height: 80px;
  }
  .brand img {
    width: 72px;
    height: 62px;
  }
  .hero {
    min-height: 700px;
    align-items: flex-start;
  }
  .hero .wrap {
    padding-top: 52px;
    padding-bottom: 265px;
  }
  .hero h1 {
    font-size: 3.3rem;
    line-height: 1.02;
  }
  .hero .eyebrow {
    font-size: 11px;
    margin-bottom: 22px;
  }
  .hero p {
    font-size: 16px;
    max-width: 330px;
    margin-top: 23px;
  }
  .hero-img {
    object-position: 63% center;
  }
  .hero:after {
    background: linear-gradient(180deg, rgba(8,33,56,.94), rgba(8,33,56,.72) 46%, rgba(8,33,56,.08) 90%);
  }
  .hero .actions {
    gap: 15px;
  }
  .hero .button {
    padding: 13px 17px;
  }
  .hero-bottom {
    bottom: 20px;
    font-size: 10px;
  }
  .hero--cat {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero--cat:after {
    display: none;
  }
  .hero--cat .wrap {
    order: 1;
    padding-top: 42px;
    padding-bottom: 12px;
  }
  .hero--cat .hero-media {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: 340px;
    flex-shrink: 0;
  }
  .hero--cat .hero-img {
    object-position: 52% center;
  }
  .hero--cat .hero-media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #123a61 0%, rgba(18,58,97,0) 25%, rgba(18,58,97,0) 78%, rgba(8,33,56,.65) 100%);
  }
  .hero--cat .hero-bottom {
    font-size: 12px;
    letter-spacing: 0;
    inset-inline: 23px;
    text-align: center;
  }
  .trust-strip {
    grid-template-columns: 1fr;
    padding-block: 7px;
    gap: 0;
  }
  .trust-strip div {
    font-size: 13px;
    justify-content: flex-start;
    padding: 10px 0;
  }
  .trust-strip div + div {
    border-inline-start: 0;
    border-top: 1px solid var(--border);
  }
  .section {
    padding-block: 65px;
  }
  .section-head {
    display: block;
    margin-bottom: 30px;
  }
  .section-head p {
    margin-top: 20px;
  }
  .section-head .text-link {
    margin-top: 15px;
  }
  .eyebrow {
    margin-bottom: 18px;
  }
  .grid3, .grid2 {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .range-card {
    min-height: 420px;
  }
  .range-card img {
    height: 265px;
  }
  .range-card h3 {
    font-size: 1.8rem;
  }
  .editorial-image {
    min-height: 300px;
    max-height: 370px;
  }
  .formula-card {
    padding: 28px;
  }
  .formula-card img {
    height: 70px;
  }
  .professional-band {
    padding: 36px 26px;
    display: block;
  }
  .professional-band .button {
    margin-top: 27px;
  }
  .page-intro {
    padding-top: 24px;
    padding-bottom: 45px;
  }
  .breadcrumbs {
    margin-bottom: 36px;
  }
  .page-intro h1 {
    font-size: 2.7rem;
  }
  .page-intro > p {
    font-size: 17px;
    margin-top: 23px;
  }
  .market-cards, .formula-detail {
    grid-template-columns: 1fr;
  }
  .note {
    padding: 22px;
  }
  .stats {
    gap: 35px;
    flex-wrap: wrap;
  }
  .stats strong {
    font-size: 3.5rem;
  }
  .formula-detail > img {
    width: 150px;
    height: 150px;
  }
  .formula-detail {
    gap: 30px;
    padding-bottom: 60px;
  }
  .market-card {
    padding: 30px 25px;
  }
  .market-card h2 {
    font-size: 2.2rem;
  }
  .contact-band {
    display: block;
    padding-block: 40px;
  }
  .contact-band .button {
    margin-top: 25px;
  }
  .enquiry-box {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .timeline {
    gap: 30px 20px;
  }
  .timeline p {
    font-size: 14px;
  }
  .animals-banner {
    margin-block: 40px;
  }
  .professional-points {
    gap: 30px;
  }
  .catalogue-filter {
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .catalogue-species {
    grid-column: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .catalogue-species .filter-label {
    margin: 0;
  }
  .catalogue-filter .reset-filter {
    width: 48px;
    justify-self: end;
  }
  .product-grid {
    gap: 28px 14px;
  }
  .product-image {
    padding: 35px 7px 15px;
  }
  .product-image img {
    height: 190px;
  }
  .product-image .circle-arrow {
    width: 32px;
    height: 32px;
    bottom: 12px;
    inset-inline-end: 12px;
  }
  .product-range {
    font-size: 10px;
    inset-inline-start: 13px;
  }
  .product-card h2 {
    font-size: 1.1rem;
    line-height: 1.22;
  }
  .product-card-copy {
    padding: 17px 0;
  }
  .product-species {
    font-size: 11px;
    line-height: 1.6;
  }
  .formula-tag {
    font-size: 10px;
    padding: 4px 7px;
  }
  .product-card p {
    font-size: 13px;
  }
  .product-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 55px;
  }
  .product-photo img {
    height: 360px;
  }
  .product-overview h1 {
    font-size: 2.5rem;
  }
  .product-overview .eyebrow {
    font-size: 11px;
  }
  .product-overview .button {
    font-size: 13px;
    gap: 12px;
    padding-inline: 16px;
  }
  .technical-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .technical-aside {
    border-top: 1px solid var(--border);
    padding-top: 30px;
  }
  .technical-aside .eyebrow {
    margin-bottom: 10px;
  }
  .product-details h2 {
    font-size: 2rem;
  }
  .product-details td, .product-details th {
    padding: 10px 8px;
  }
  .news-grid, .news-feature {
    grid-template-columns: 1fr;
  }
  .news-feature .news-image, .news-image {
    height: 240px;
  }
  .news-feature {
    gap: 0;
  }
  .news-feature .news-copy {
    padding-top: 25px;
  }
  .news-feature h2 {
    font-size: 1.9rem;
  }
  .news-copy h2 {
    font-size: 1.8rem;
  }
  .article-body {
    font-size: 17px;
  }
  .article-image {
    margin-block: 30px;
  }
  .documents-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    gap: 35px 20px;
  }
  .footer-grid > div:first-child, .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom div {
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 15px;
  }
  .footer a:not(.brand) {
    min-height: 40px;
    padding-block: 6px;
  }
  .footer-bottom a:not(.brand) {
    padding-block: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *:before, *:after {
    animation: none !important;
    transition: none !important;
  }
}
