/* Terroir 78 — design system (cf. definition_projet.md §7) */

:root {
  --forest: #2a3450;
  --forest-dot: #2a3e4a;
  --forest-dark: #15202a;
  --cream: #F6EEDD;
  --kraft: #EFE3CB;
  --kraft-dot: #DCCBA0;
  --gold: #EFC988;
  --text-dark: #1c252b;
  --text-body: #3a3d4a;
  --text-muted: #5a616a;
  --text-on-forest: #d3e1e4;

  --cat-producteurs: #4FA65B;
  --cat-amap: #4A7FE8;
  --cat-epicerie: #cf237f;
  --cat-jardins-partages: #E8734A;
  --cat-jardins-familiaux: #8B5FBF;

  --radius: 14px;
  --radius-lg: 20px;
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Karla', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
}

/* Filet de sécurité anti-débordement horizontal (cf. §13 mobile) : les grilles de l'accueil
   sont corrigées à la source ci-dessous, mais on garde ce garde-fou pour tout futur bloc trop large. */
html { overflow-x: hidden; }
body { overflow-x: hidden; width: 100%; }

a { color: var(--cat-producteurs); text-decoration: none; }
a:hover { color: #c95d34; }

h1, h2, h3 { font-family: var(--font-heading); margin: 0; }

.dotted-forest {
  background: var(--forest);
  background-image: radial-gradient(var(--forest-dot) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

/* Sections photo pleine largeur avec voile vert forêt (garde le texte cream/gold lisible
   par-dessus une vraie photo, cf. assets/img/). Remplace le fond à pois sur l'accueil. */
.photo-section {
  background-color: var(--forest);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.photo-hero {
  background-image: linear-gradient(rgba(21, 42, 28, 0.72), rgba(21, 42, 28, 0.82)), url('/assets/img/hero_producteur.webp');
}
.photo-categories {
  background-image: linear-gradient(rgba(21, 42, 28, 0.85), rgba(21, 42, 28, 0.9)), url('/assets/img/reseaux-producteurs.webp');
}
/* Parallax léger : la photo reste fixe pendant que le contenu défile par-dessus.
   Désactivé sous 768px (background-attachment: fixed est coûteux/mal supporté sur mobile). */
@media (min-width: 768px) {
  .photo-parallax { background-attachment: fixed; }
}

/* Hero d'accueil : photo plein cadre (assets/img/nouveau-hero.webp) avec dégradé crème depuis la
   gauche (au lieu du voile forêt sombre des autres .photo-section) pour un texte foncé lisible
   sans masquer la photo côté panier/champs. */
.hero-photo {
  background-image:
    linear-gradient(to right, var(--cream) 0%, var(--cream) 30%, rgba(246, 238, 221, 0.6) 48%, rgba(246, 238, 221, 0.1) 65%, transparent 80%),
    url('/assets/img/nouveau-hero.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-color: var(--cream);
}
.hero-badge {
  display: inline-block;
  background: #fff;
  color: var(--forest);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(28, 51, 36, 0.1);
}
.btn-outline-forest { background: #fff; color: var(--forest); border: 2px solid var(--kraft-dot); }
.btn-outline-forest:hover { border-color: var(--forest); }

/* Barre de recherche du hero : commune + catégorie → GET /carte, en pilule façon comparateur. */
.hero-search {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(28, 51, 36, 0.14);
  max-width: 620px;
  flex-wrap: wrap;
  gap: 4px;
}
.hero-search-field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  flex: 1;
  min-width: 150px;
  border-radius: 999px;
}
.hero-search-field:focus-within { background: var(--kraft); }
.hero-search-field svg { width: 16px; height: 16px; stroke: var(--text-muted); fill: none; stroke-width: 2; flex-shrink: 0; }
.hero-search-field select {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  width: 100%;
  cursor: pointer;
  text-overflow: ellipsis;
}
.hero-search-field select:focus { outline: none; }
.hero-search .hero-search-btn { border-radius: 999px; padding: 12px 22px; white-space: nowrap; flex-shrink: 0; }

/* Stepper « Rejoindre le réseau » : cercles numérotés reliés par une barre, avec effet de survol. */
.steps {
  list-style: none;
  margin: 0 0 44px;
  padding: 78px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step { position: relative; text-align: center; }
.step-circle {
  position: absolute;
  top: -78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--forest);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 21px;
  color: var(--forest);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.step:last-child .step-circle { border-color: var(--gold); }
.step::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--forest);
  z-index: 1;
}
.step:first-child::before { display: none; }
.step:last-child::before { background: linear-gradient(to right, var(--forest), var(--gold)); }
.step:hover .step-circle,
.step:focus-within .step-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
  transform: translateX(-50%) scale(1.15);
  box-shadow: 0 6px 16px rgba(239, 201, 136, 0.45);
}
.step-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; color: var(--forest); }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* Navigation — bandeau flottant en glassmorphisme, au-dessus du contenu (scroll visible flouté derrière).
   Pas de padding-top global sur <main> : le hero de l'accueil doit démarrer à y:0 pour que la photo
   passe sous la nav (effet glass). Chaque page gère donc son propre offset (~96px, hauteur nav + marge)
   sur son premier bloc — sauf l'accueil, dont le padding interne du hero suffit déjà. */
.site-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1240px;
  z-index: 1500; /* au-dessus des panes/contrôles Leaflet (jusqu'à 1000) et de la carte */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 18px;
  border-radius: 35px;
  background: rgba(246, 238, 221, 0.65);
  border: 1px solid rgba(28, 51, 36, 0.1);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 10px 34px rgba(28, 51, 36, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--forest); }
.nav-brand-accent { color: var(--cat-jardins-partages); }
.nav-brand-sub { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-top: 1px; }

.nav-links-pill { display: flex; align-items: center; gap: 2px; border-radius: 999px; padding: 5px; }
.nav-links-pill a {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px;
  color: var(--text-body); font-weight: 600; font-size: 15px;
  transition: background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.nav-links-pill a svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.nav-links-pill a:hover, .nav-links-pill a:focus-visible,
.nav-links-pill a[aria-current="page"] { background: rgba(28, 51, 36, 0.08); color: var(--forest); }

.nav-cta {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: #c95d34;
  color: #FFF; font-weight: 700; font-size: 14px;
  padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(79, 166, 91, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.nav-cta svg { width: 15px; height: 15px; stroke: #FFF; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-cta .nav-cta-arrow { transition: transform 0.18s ease; }
.nav-cta:hover, .nav-cta:focus-visible { transform: translateY(-1px) scale(1.02); box-shadow: 0 8px 24px rgba(79, 166, 91, 0.55); color: #EEE; }
.nav-cta:hover .nav-cta-arrow, .nav-cta:focus-visible .nav-cta-arrow { transform: translateX(3px); }

/* Bouton burger — masqué sur desktop, affiché uniquement sous 720px (cf. media query en bas de fichier). */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: rgba(28, 51, 36, 0.08);
  color: var(--forest);
  cursor: pointer;
}
.nav-burger:hover, .nav-burger:focus-visible { background: rgba(28, 51, 36, 0.14); }
.nav-burger-icon {
  position: absolute;
  width: 19px; height: 19px;
  stroke: var(--forest); fill: none; stroke-width: 2; stroke-linecap: round;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nav-burger .icon-close { opacity: 0; transform: scale(0.7) rotate(-45deg); }
.nav-burger.is-open .icon-open { opacity: 0; transform: scale(0.7) rotate(45deg); }
.nav-burger.is-open .icon-close { opacity: 1; transform: scale(1) rotate(0); }

/* Panneau du menu mobile — dropdown flottant sous la nav, visible seulement une fois ouvert
   (classe .is-open ajoutée par assets/js/nav.js) et jamais affiché au-delà de 720px, puisque
   le bouton burger qui le déclenche est lui-même masqué à cette largeur. */
.nav-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: fixed;
  top: 88px;
  left: 16px;
  right: 16px;
  z-index: 1499;
  padding: 10px;
  border-radius: 24px;
  background: rgba(246, 238, 221, 0.97);
  border: 1px solid rgba(28, 51, 36, 0.1);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 14px 34px rgba(28, 51, 36, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}
.nav-mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.nav-mobile-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-radius: 16px;
  color: var(--text-body); font-weight: 600; font-size: 15.5px;
}
.nav-mobile-menu a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.nav-mobile-menu a:hover, .nav-mobile-menu a:focus-visible,
.nav-mobile-menu a[aria-current="page"] { background: rgba(28, 51, 36, 0.08); color: var(--forest); }
.nav-mobile-menu .nav-mobile-cta { background: #c95d34; color: #fff; justify-content: center; margin-top: 4px; }
.nav-mobile-menu .nav-mobile-cta:hover, .nav-mobile-menu .nav-mobile-cta:focus-visible { background: #b3502c; color: #fff; }

/* Boutons */
.btn { display: inline-block; font-weight: 700; font-size: 16px; padding: 14px 28px; border-radius: 10px; border: none; cursor: pointer; }
.btn-cream { background: var(--cream); color: var(--forest); }
.btn-cream:hover { background: var(--gold); color: var(--forest); }
.btn-outline { background: transparent; color: var(--cream); border: 2px solid #4A5C4F; }
.btn-outline:hover { border-color: var(--cream); color: var(--cream); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: #222222; color: var(--cream); }
.btn-danger { background: #b93b2c; color: #fff; }

/* Pastilles catégorie */
.pill { display: inline-block; color: #fff; font-weight: 700; font-size: 13px; padding: 6px 16px; border-radius: 999px; }
.pill-link { transition: transform 0.18s ease, box-shadow 0.18s ease; box-shadow: 0 0 0 rgba(0,0,0,0); cursor: pointer; }
.pill-link:hover, .pill-link:focus-visible { transform: scale(1.08); box-shadow: 0 6px 16px rgba(0,0,0,0.25); color: #fff; }

/* Grands badges catégorie (section "Cinq façons de faire partie du réseau", accueil) */
.category-badge-link { text-decoration: none; transition: transform 0.18s ease; }
.category-badge-link:hover, .category-badge-link:focus-visible { transform: translateY(-4px); }
.category-badge-link:hover span:first-child, .category-badge-link:focus-visible span:first-child { box-shadow: 0 10px 26px rgba(0,0,0,0.4); }
.chip { border: none; cursor: pointer; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 13.5px; background: var(--kraft); color: var(--text-body); display: inline-flex; align-items: center; gap: 7px; }
.chip.active { color: #fff; }
.chip-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chip-icon img { width: 12px; height: 12px; }

/* Cartes "Derniers inscrits" / "Explorez par envie" (accueil) */
.hover-card, .card-link { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.hover-card:hover, .card-link:hover, .card-link:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(28, 51, 36, 0.14); }
.btn-link { transition: color 0.15s ease; }
.btn-link:hover, .btn-link:focus-visible { color: var(--gold); }

/* Icônes rondes (remplacent les pastilles pleines dans "Le projet") */
.icon-circle { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.icon-circle svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Icônes réseaux sociaux cliquables (cf. section contact de l'accueil) */
.social-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--cream); transition: background 0.2s ease, color 0.2s ease; }
.social-icon:hover, .social-icon:focus-visible { background: var(--gold); color: var(--forest); }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Icônes des chiffres clés */
.stat-icon { width: 26px; height: 26px; margin: 0 auto 10px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.9; }

/* Révélation au scroll — désactivée si l'utilisateur préfère moins d'animations (§13 RGAA). */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Sections génériques */
.section { padding: 90px 24px; }
.section-narrow { max-width: 820px; margin: 0 auto; }
.section-wide { max-width: 1080px; margin: 0 auto; }
.container { max-width: 1280px; margin: 0 auto; }

/* Formulaires */
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--text-dark); }
.field .hint { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--kraft-dot);
  background: #fff;
  color: var(--text-dark);
}
.field textarea { resize: vertical; min-height: 100px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.checkbox-group label { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14.5px; color: var(--text-body); }
.field-error { color: #b93b2c; font-size: 13px; margin-top: 6px; }
.form-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; font-size: 14.5px; }
.form-alert.success { background: #E4F1E1; color: #245132; }
.form-alert.error { background: #F8E1DC; color: #8A2E1B; }

/* Carte interactive */
#map { width: 100%; height: 72vh; min-height: 520px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--kraft-dot); }
.leaflet-popup-content-wrapper { border-radius: 10px; font-family: var(--font-body); }

/* Panneau fiche établissement */
/* z-index élevé : Leaflet monte ses propres contrôles (zoom, attribution) à 1000,
   l'overlay/panneau doivent rester au-dessus même quand la carte est affichée en dessous. */
.overlay { position: fixed; inset: 0; background: rgba(20,30,22,0.5); z-index: 2000; }
.side-panel { position: fixed; top: 0; right: 0; width: 620px; max-width: 92vw; height: 100vh; background: var(--cream); z-index: 2001; box-shadow: -8px 0 30px rgba(0,0,0,0.2); overflow-y: auto; padding: 32px; }
.side-panel .close-btn { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--kraft); font-size: 16px; cursor: pointer; color: var(--forest); }
.side-panel .photo-placeholder { width: 100%; height: 160px; border-radius: var(--radius); margin-bottom: 18px; background: repeating-linear-gradient(45deg, #E3D6B4, #E3D6B4 10px, #DCCBA0 10px, #DCCBA0 20px); display: none; align-items: center; justify-content: center; font-family: monospace; font-size: 12.5px; color: #7A6B47; text-align: center; padding: 10px; }
.side-panel .field-block { margin-bottom: 20px; }
.side-panel .field-block .field-title { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: #8A7A50; margin-bottom: 8px; }
.side-panel .tag { display: inline-block; background: var(--kraft); font-size: 13px; padding: 6px 12px; border-radius: 999px; color: var(--text-body); margin: 0 6px 6px 0; }

/* Footer + pages légales */
.site-footer { background: var(--forest-dark); font-size: 13px; color: #8FA089; border-top: 1px solid rgba(239, 201, 136, 0.18); }
.site-footer .footer-inner { max-width: 1080px; margin: 0 auto; padding: 48px 24px 28px; display: flex; flex-direction: column; gap: 28px; }
.site-footer .footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer .footer-brand { display: flex; align-items: center; gap: 10px; }
.site-footer .footer-brand .mark { width: 32px; height: 32px; border-radius: 50%; background: var(--cat-jardins-partages); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; color: var(--forest); font-size: 15px; flex-shrink: 0; }
.site-footer .footer-brand-name { font-family: var(--font-heading); font-weight: 600; font-size: 16px; color: var(--cream); }
.site-footer .footer-tagline { font-size: 13px; color: #8FA089; margin-top: 2px; }
.site-footer .legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer .legal-links a { position: relative; display: inline-block; color: #C7D4C1; font-weight: 600; padding-bottom: 3px; }
.site-footer .legal-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--gold); transition: right 0.25s ease; }
.site-footer .legal-links a:hover, .site-footer .legal-links a:focus-visible { color: var(--gold); }
.site-footer .legal-links a:hover::after, .site-footer .legal-links a:focus-visible::after { right: 0; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 20px; font-size: 12.5px; color: #6E8069; text-align: center; }
.legal-page { max-width: 760px; margin: 0 auto; padding: 156px 24px 100px; line-height: 1.7; }
.legal-page h1 { font-size: 30px; margin-bottom: 24px; }
.legal-page h2 { font-size: 20px; margin: 32px 0 10px; }
.legal-page p, .legal-page li { color: var(--text-body); font-size: 15.5px; }

/* Accessibilité (§13) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--forest); padding: 10px 16px; z-index: 3000; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }

.establishment-list-fallback { max-width: 900px; margin: 0 auto 40px; }
.establishment-list-fallback details { background: var(--kraft); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.establishment-list-fallback summary { cursor: pointer; font-weight: 700; }

@media (max-width: 720px) {
  .nav-links-pill { display: none; }
  .nav-brand-sub { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  #map { height: 60vh; }
  .side-panel { width: 100%; }

  /* Accueil : grilles à deux colonnes trop étroites en mobile (débordement horizontal) —
     on repasse en une seule colonne, avec minmax(0, 1fr) pour laisser le texte se réduire
     au lieu de forcer la largeur des pistes (cf. templates/pages/home.php). */
  .projet-layout { grid-template-columns: minmax(0, 1fr) !important; gap: 36px !important; }
  .explorer-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .explorer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .explorer-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 380px) {
  .explorer-cards { grid-template-columns: minmax(0, 1fr) !important; }
}
