/**
 * Ferme des Vallons - Marchés & événements (front)
 * Couleurs de la marque : vert foncé #2d5335, vert clair #698f5b.
 */
:root {
  --fdv-green: #2d5335;
  --fdv-green-light: #698f5b;
  --fdv-green-pale: #eef3ec;
  --fdv-red: #9e4747;
  --fdv-grey: #7a7a7a;
}

/* ---------- Page « Marchés & évènements » ---------- */
/* Boutons : classes du thème (btn-primary / btn-outline-primary). Accent = couleur primaire du thème. */
.fdv-markets {
  --fdv-accent: var(--bs-primary, #2d5335);
  --fdv-accent-soft: var(--bs-primary-bg-subtle, #eef3ec);
  --fdv-line: #e3e6e1;
  padding: 1.5rem; background: #fff; border-radius: 4px;
}
.fdv-markets *, .fdv-markets *::before, .fdv-markets *::after { box-sizing: border-box; }
.fdv-markets [hidden] { display: none !important; }
.fdv-markets .btn { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; }
.fdv-markets .btn .material-icons { font-size: 1.15em; line-height: 1; }
.fdv-markets__intro { margin-bottom: 1.25rem; line-height: 1.6; max-width: 80ch; }
.fdv-markets__intro p:last-child { margin-bottom: 0; }
.fdv-markets__h2 { color: var(--fdv-accent); font-size: 1.3rem; margin: 1.75rem 0 .9rem; }

/* Annonces */
.fdv-announce { border-left: 4px solid var(--fdv-green-light); background: var(--fdv-green-pale); padding: .7rem 1rem; margin-bottom: 1rem; border-radius: 0 4px 4px 0; }
.fdv-announce--closing { border-left-color: var(--fdv-red); background: #f8eeee; }
.fdv-announce__title { font-weight: 600; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .5rem; color: #232323; }
.fdv-announce__title .material-icons { font-size: 1.2rem; color: var(--fdv-accent); }
.fdv-announce--closing .fdv-announce__title .material-icons { color: var(--fdv-red); }
.fdv-announce__period { font-weight: 400; color: var(--fdv-grey); font-size: .9em; }
.fdv-announce__content { margin-top: .35rem; }
.fdv-announce__content p { margin-bottom: .35rem; }
.fdv-announce__content p:last-child { margin-bottom: 0; }

/* Cartes de dates (compactes) */
.fdv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: .9rem; }
.fdv-card { position: relative; display: flex; gap: .9rem; padding: .85rem; border: 1px solid var(--fdv-line); border-radius: 6px; background: #fff; min-width: 0; }
.fdv-card--featured:first-child { border-color: var(--fdv-accent); box-shadow: 0 2px 8px rgba(45, 83, 53, .12); }
.fdv-card.is-running { background: var(--fdv-accent-soft); }
.fdv-card__date { flex: 0 0 64px; align-self: flex-start; display: flex; flex-direction: column; align-items: center; padding: .45rem .2rem; border-radius: 6px; background: var(--fdv-accent); color: #fff; line-height: 1.1; text-align: center; }
.fdv-card__wd, .fdv-card__month { font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; }
.fdv-card__day { font-size: 1.75rem; font-weight: 700; white-space: nowrap; }
.fdv-card__day small { font-size: .9rem; }
.fdv-card__body { min-width: 0; flex: 1; font-size: .9rem; }
.fdv-card__body p { margin: 0 0 .2rem; }
.fdv-card__kind { color: var(--fdv-grey); font-size: .78rem !important; text-transform: uppercase; letter-spacing: .02em; font-weight: 600; }
.fdv-card__title { font-size: 1rem; margin: 0 0 .3rem; color: #232323; font-weight: 700; line-height: 1.3; }
.fdv-card__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.fdv-card__line { display: flex; gap: .3rem; align-items: flex-start; color: #444; }
.fdv-card__line .material-icons { font-size: 1rem; line-height: 1.35rem; color: var(--fdv-accent); flex: none; }
.fdv-card__addr { color: #666; }
.fdv-card__addr a { color: var(--fdv-accent); text-decoration: underline; }
.fdv-card__note { font-style: italic; margin: .2rem 0; }
.fdv-card__note p { margin: 0; }
.fdv-card__info summary { cursor: pointer; color: var(--fdv-accent); font-size: .85rem; }
.fdv-card__pickup { margin-top: .35rem !important; font-size: .8rem; display: flex; gap: .3rem; align-items: center; }
.fdv-card__pickup .material-icons { font-size: .95rem; }
.fdv-card__pickup.is-open { color: var(--fdv-accent); }
.fdv-card__pickup.is-closed { color: var(--fdv-grey); font-style: italic; }
.fdv-card.is-cancelled { opacity: .75; background: #fafafa; }
.fdv-card.is-cancelled .fdv-card__date { background: #8a8a8a; }
.fdv-card.is-cancelled .fdv-card__line, .fdv-card.is-cancelled .fdv-card__title { text-decoration: line-through; }
.fdv-card__title a { color: inherit; text-decoration: none; }
.fdv-card__title a:hover, .fdv-card__title a:focus { color: var(--fdv-accent); text-decoration: underline; }
.fdv-card__group { font-size: .8rem; margin-top: -.15rem !important; }
.fdv-card__group a { color: var(--fdv-accent); }
.fdv-tag--cancelled { background: var(--fdv-red); }
.fdv-places__group { font-weight: 700; }
.fdv-tag { display: inline-block; background: var(--fdv-accent); color: #fff; font-size: .68rem; padding: 0 .4rem; border-radius: 3px; text-transform: uppercase; vertical-align: 1px; letter-spacing: 0; }

/* Filtre par lieu */
.fdv-cal, .fdv-next { min-width: 0; }
.fdv-places { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 1rem; }
.fdv-places__label { font-weight: 600; margin-right: .2rem; }

/* Frise des mois : éléments de taille identique */
.fdv-tl { margin: 0 0 1.25rem; }
.fdv-tl__list { display: grid; grid-template-columns: repeat(12, minmax(64px, 1fr)); gap: 6px; list-style: none; margin: 0; padding: 2px 2px 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scrollbar-width: thin; }
.fdv-tl__item { display: flex; flex-direction: column; align-items: stretch; scroll-snap-align: center; min-width: 0; }
.fdv-tl__year, .fdv-tl__now { display: block; height: 1.15rem; line-height: 1.15rem; font-size: .72rem; text-align: center; white-space: nowrap; }
.fdv-tl__year { font-weight: 700; color: var(--fdv-grey); }
.fdv-tl__now { color: var(--fdv-accent); font-weight: 700; }
.fdv-tl__tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; height: 64px; padding: 0 .2rem; border: 1px solid var(--fdv-line); border-radius: 6px; background: #fff; color: #232323; text-decoration: none; font-weight: 600; font-size: .82rem; text-transform: uppercase; transition: background .15s, border-color .15s; }
.fdv-tl__tab:hover, .fdv-tl__tab:focus { border-color: var(--fdv-accent); color: var(--fdv-accent); text-decoration: none; }
.fdv-tl__tab:focus-visible { outline: 3px solid var(--fdv-accent); outline-offset: 2px; }
.fdv-tl__count { min-width: 1.5rem; height: 1.5rem; padding: 0 .35rem; border-radius: 1rem; background: var(--fdv-accent-soft); color: var(--fdv-accent); font-size: .75rem; line-height: 1.5rem; text-align: center; }
/* mois courant : repère « ce mois-ci » + bordure */
.fdv-tl__item.is-current .fdv-tl__tab { border: 2px solid var(--fdv-accent); }
/* mois sans date : atténué */
.fdv-tl__item.is-empty .fdv-tl__tab { color: #9a9a9a; background: #fafafa; border-style: dashed; }
.fdv-tl__item.is-empty .fdv-tl__count { background: transparent; color: #b0b0b0; }
/* mois sélectionné : état actif plein (uniquement quand le JS a activé les onglets) */
.is-tabbed .fdv-tl__item.is-selected .fdv-tl__tab { background: var(--fdv-accent); border-color: var(--fdv-accent); color: #fff; border-style: solid; }
.is-tabbed .fdv-tl__item.is-selected .fdv-tl__count { background: #fff; color: var(--fdv-accent); }
/* légende */
.fdv-tl__legend { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin: .5rem 0 0; font-size: .78rem; color: var(--fdv-grey); }
.fdv-tl__legend span { display: inline-flex; align-items: center; gap: .35rem; }
.fdv-lg { display: inline-block; width: 1rem; height: 1rem; border-radius: 3px; font-style: normal; }
.fdv-lg--selected { background: var(--fdv-accent); }
.fdv-lg--count { width: auto; min-width: 1rem; padding: 0 .3rem; border-radius: 1rem; background: var(--fdv-accent-soft); color: var(--fdv-accent); font-size: .7rem; line-height: 1rem; text-align: center; font-weight: 700; }
.fdv-lg--empty { border: 1px dashed #b0b0b0; background: #fafafa; }
.fdv-markets:not(.is-tabbed) .fdv-lg--selected, .fdv-markets:not(.is-tabbed) .fdv-lg--selected + * { display: none; }

/* Panneaux mensuels */
.fdv-month { padding-top: .25rem; scroll-margin-top: 1rem; }
.fdv-markets:not(.is-tabbed) .fdv-month { border-top: 1px solid var(--fdv-line); padding-top: 1rem; margin-top: 1rem; }
.fdv-markets:not(.is-tabbed) .fdv-month.is-empty { display: none; }
.fdv-markets:not(.is-tabbed) .fdv-month__nav { display: none; }
.is-tabbed .fdv-month:not(.is-selected) { display: none; }
.fdv-month__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; margin-bottom: .9rem; }
.fdv-month__head > :first-child { justify-self: start; }
.fdv-month__head > :last-child { justify-self: end; }
.fdv-month__title { margin: 0; font-size: 1.2rem; color: #232323; text-align: center; }
.fdv-month__count { display: block; font-size: .8rem; font-weight: 400; color: var(--fdv-grey); }
.fdv-month__empty { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: 1rem; border: 1px dashed var(--fdv-line); border-radius: 6px; color: #555; }
.fdv-month__empty .material-icons { color: var(--fdv-grey); }

/* Mode d'emploi */
.fdv-howto { margin-top: 2rem; padding: 1.25rem; background: var(--fdv-accent-soft); border-radius: 6px; }
.fdv-howto .fdv-markets__h2 { margin-top: 0; }
.fdv-howto__steps { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fdv-howto__steps li { display: flex; gap: .6rem; align-items: flex-start; }
.fdv-howto__steps li p { margin: 0; }
.fdv-howto__steps .fdv-howto__num { flex: 0 0 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--fdv-accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fdv-howto__note { font-size: .88rem; color: #555; }
.fdv-howto__contact { margin: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.fdv-howto__contact a { color: var(--fdv-accent); font-weight: 600; }
.fdv-howto__contact .material-icons { font-size: 1.1rem; vertical-align: -4px; margin-right: .25rem; }

@media (max-width: 991px) {
  .fdv-tl__list { grid-template-columns: repeat(12, 68px); }
}
@media (max-width: 767px) {
  .fdv-markets { padding: 1rem; }
  .fdv-howto__steps { grid-template-columns: 1fr; }
  .fdv-month__nav { position: relative; }
  .fdv-month__navlabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .fdv-cards--next { grid-auto-flow: column; grid-auto-columns: 85%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .fdv-cards--next .fdv-card { scroll-snap-align: start; }
}

/* ---------- Tunnel : choix du point de retrait ---------- */
.fdv-pickup { box-sizing: border-box; margin: .25rem 0 1rem; padding: 1rem; border: 1px solid #dfe5dc; border-radius: 6px; background: #fbfcfa; width: 100%; }
.fdv-pickup.fdv-pickup--error { border-color: var(--fdv-red); box-shadow: 0 0 0 2px rgba(158, 71, 71, .15); }
.fdv-pickup__title { font-weight: 600; color: var(--fdv-green); margin-bottom: .5rem; }
.fdv-pickup__req { color: var(--fdv-red); }
.fdv-pickup__group { margin: 0 0 .75rem; padding: 0; border: 0; }
.fdv-pickup__group legend { float: none; padding: 0; line-height: 1.3; font-size: .8rem; text-transform: uppercase; color: var(--fdv-grey); font-weight: 600; margin-bottom: .35rem; border: 0; width: auto; }
.fdv-pickup__option { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .7rem; margin: 0 0 .4rem; border: 1px solid #e3e3e3; border-radius: 4px; background: #fff; cursor: pointer; font-weight: 400; text-align: left; width: 100%; }
.fdv-pickup__option:hover { border-color: var(--fdv-green-light); }
.fdv-pickup__option.is-selected { border-color: var(--fdv-green); background: var(--fdv-green-pale); }
.fdv-pickup__option input { margin-top: .25rem; accent-color: var(--fdv-green); flex: 0 0 auto; }
.fdv-pickup__text { display: flex; flex-direction: column; font-size: .9rem; line-height: 1.35; }
.fdv-pickup__text strong { color: #232323; }
.fdv-pickup__addr, .fdv-pickup__hours { color: #666; font-size: .82rem; }
.fdv-pickup__hours summary { cursor: pointer; color: var(--fdv-green-light); }
.fdv-pickup__hours span { display: block; }
.fdv-pickup__kind { color: #666; }
.fdv-pickup__deadline { color: var(--fdv-green-light); font-size: .8rem; }
.fdv-pickup__empty { font-style: italic; color: #666; margin-bottom: .25rem; }
.fdv-pickup__more { font-size: .85rem; margin: .25rem 0 0; }
.fdv-pickup [hidden] { display: none !important; }
.fdv-pickup__showmore { display: block; width: 100%; margin: 0 0 .4rem; padding: .5rem .7rem; border: 1px dashed var(--fdv-green-light); border-radius: 4px; background: #fff; color: var(--fdv-green); font-size: .88rem; font-weight: 600; cursor: pointer; }
.fdv-pickup__showmore:hover, .fdv-pickup__showmore:focus-visible { background: var(--fdv-green-pale); }
.fdv-pickup__days { margin: -.15rem 0 .6rem; padding: .6rem .7rem; border: 1px solid var(--fdv-green); border-top: 0; border-radius: 0 0 4px 4px; background: #fff; }
.fdv-pickup__days label { display: block; font-size: .88rem; font-weight: 600; color: #232323; margin-bottom: .3rem; }
.fdv-pickup__days select { width: 100%; max-width: 30rem; }
.fdv-pickup__hint { display: block; margin-top: .3rem; color: #666; font-size: .8rem; }
.fdv-pickup__feedback { font-size: .88rem; min-height: 1.2em; }
.fdv-pickup__feedback.is-success { color: var(--fdv-green); }
.fdv-pickup__feedback.is-error { color: var(--fdv-red); font-weight: 600; }

.fdv-pickup-recap { display: flex; gap: .75rem; padding: .75rem 1rem; margin-bottom: 1rem; border: 1px solid #dfe5dc; background: var(--fdv-green-pale); border-radius: 4px; }
.fdv-pickup-recap .material-icons { color: var(--fdv-green); }
.fdv-pickup-recap.is-error { display: block; border-color: var(--fdv-red); background: #f8eeee; color: var(--fdv-red); }
.fdv-pickup-recap__addr { color: #555; font-size: .9rem; }

/* ---------- Confirmation / détail commande ---------- */
.fdv-order-pickup { margin: 0 0 1rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid #dfe5dc; border-left: 4px solid var(--fdv-green); border-radius: 4px; }
.fdv-order-pickup__title { display: flex; align-items: center; gap: .4rem; color: var(--fdv-green); font-size: 1.1rem; margin: 0 0 .5rem; }
.fdv-order-pickup p { margin-bottom: .3rem; }
.fdv-order-pickup__hours { padding-left: 1.1rem; font-size: .88rem; color: #555; }

/* ---------- Widget « Prochains marchés » (accueil) ---------- */
/* Aligné sur les sections produits du thème : largeur du conteneur, titre de section, bouton outline. */
.fdv-home-markets { --fdv-accent: var(--bs-primary, #2d5335); }
.fdv-home-markets *, .fdv-home-markets *::before, .fdv-home-markets *::after { box-sizing: border-box; }
.fdv-home-markets .module-products:not(.container) { margin: 1.5rem 0 2rem; }
.fdv-home-markets__intro { margin: -.25rem 0 1rem; color: var(--bs-secondary-color, #7a7a7a); }
.fdv-home-markets__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.fdv-home-card { position: relative; display: flex; gap: .9rem; padding: 1rem; background: #fff; border: 1px solid var(--bs-border-color, #e5e5e5); border-radius: var(--bs-border-radius-lg, .5rem); transition: box-shadow .15s; min-width: 0; }
.fdv-home-card:hover { box-shadow: var(--bs-box-shadow-sm, 0 2px 8px rgba(0, 0, 0, .08)); }
.fdv-home-card__date { flex: 0 0 60px; align-self: flex-start; display: flex; flex-direction: column; align-items: center; padding: .45rem .2rem; border-radius: var(--bs-border-radius, .375rem); background: var(--fdv-accent); color: #fff; line-height: 1.1; text-align: center; }
.fdv-home-card__wd, .fdv-home-card__month { font-size: .7rem; text-transform: uppercase; letter-spacing: .03em; }
.fdv-home-card__day { font-size: 1.6rem; font-weight: 700; white-space: nowrap; }
.fdv-home-card__day small { font-size: .85rem; }
.fdv-home-card__body { min-width: 0; font-size: .9rem; }
.fdv-home-card__body p { margin: 0 0 .2rem; }
.fdv-home-card__kind { font-size: .75rem !important; text-transform: uppercase; letter-spacing: .02em; font-weight: 600; color: var(--bs-secondary-color, #7a7a7a); }
.fdv-home-card__title { font-size: 1rem; line-height: 1.3; margin: 0 0 .25rem; font-weight: 700; }
.fdv-home-card__title a { color: inherit; text-decoration: none; }
.fdv-home-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* carte entièrement cliquable */
.fdv-home-card__title a:focus-visible { outline: none; }
.fdv-home-card:focus-within { outline: 2px solid var(--fdv-accent); outline-offset: 2px; }
.fdv-home-card__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.fdv-home-card__pickup { font-size: .8rem; color: var(--fdv-accent); }
.fdv-home-markets__buttons { display: flex; justify-content: center; margin-top: 1.5rem; }
.fdv-home-markets__buttons .btn { display: inline-flex; align-items: center; gap: .25rem; }
.fdv-home-markets__buttons .material-icons { font-size: 1.2em; }

/* ---------- Pages lieu / groupe ---------- */
.fdv-place__kicker { margin: 0 0 1rem; color: var(--fdv-grey); text-transform: uppercase; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.fdv-place__kicker a { color: var(--fdv-accent); }
.fdv-place__layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 1.75rem; align-items: start; }
.fdv-place__main .fdv-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.fdv-place__desc { line-height: 1.6; }
.fdv-place__desc img { max-width: 100%; height: auto; }
.fdv-place__all { margin: 1rem 0 0; }
.fdv-place__all a, .fdv-box a:not(.btn) { color: var(--fdv-accent); }
.fdv-gallery { display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.fdv-gallery--multi { grid-template-columns: repeat(4, 1fr); }
.fdv-gallery--multi .fdv-gallery__item:first-child { grid-column: 1 / -1; }
.fdv-gallery__item { display: block; overflow: hidden; border-radius: var(--bs-border-radius-lg, .5rem); }
.fdv-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.fdv-gallery__item:first-child img { aspect-ratio: 16 / 9; }
.fdv-box { padding: 1rem 1.1rem; margin-bottom: 1rem; border: 1px solid var(--fdv-line); border-radius: var(--bs-border-radius-lg, .5rem); background: #fff; }
.fdv-box--accent { background: var(--fdv-accent-soft); border-color: transparent; }
.fdv-box__title { font-size: 1rem; font-weight: 700; margin: 0 0 .4rem; color: #232323; }
.fdv-box__title:not(:first-child) { margin-top: 1rem; }
.fdv-box p { margin: 0 0 .5rem; }
.fdv-box__list { margin: 0 0 .6rem; padding-left: 1.1rem; }
.fdv-box__muted, .fdv-box__hint { color: #666; font-size: .85rem; }
.fdv-box__links { display: flex; flex-wrap: wrap; gap: .4rem; }
.fdv-map iframe { display: block; width: 100%; height: 260px; border: 0; border-radius: var(--bs-border-radius, .375rem); margin-top: .5rem; }
.fdv-group__head { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: .5rem; }
.fdv-group__image { width: 180px; max-width: 35%; height: auto; border-radius: var(--bs-border-radius-lg, .5rem); }
.fdv-group__intro { flex: 1; min-width: 0; }
.fdv-place-card { display: flex; flex-direction: column; border: 1px solid var(--fdv-line); border-radius: var(--bs-border-radius-lg, .5rem); background: #fff; overflow: hidden; position: relative; }
.fdv-place-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.fdv-place-card__body { padding: .85rem; font-size: .9rem; }
.fdv-place-card__body p { margin: 0 0 .25rem; }
.fdv-place-card .fdv-card__title a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 767px) {
  .fdv-place__layout { grid-template-columns: 1fr; }
  .fdv-group__head { flex-direction: column; }
  .fdv-group__image { max-width: 60%; }
}

/* ---------- Carte « Où nous retrouver » (SVG, _map.tpl) ---------- */
.fdv-map__grid { display: grid; gap: 1rem 1.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 462px); grid-template-areas: "fr zoom" "legend zoom"; align-items: start; }
.fdv-map__grid--single { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "fr legend"; }
.fdv-map__fr { grid-area: fr; }
.fdv-map__zoom { grid-area: zoom; margin: 0; border: 1px solid var(--fdv-line); border-radius: 6px; overflow: hidden; }
.fdv-map__legend { grid-area: legend; list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.fdv-map__svg { display: block; width: 100%; max-width: 100%; height: auto; font-family: inherit; }
.fdv-map__fr .fdv-map__svg { max-width: 460px; margin: 0 auto; }
.fdv-map__land { fill: var(--fdv-green-pale); stroke: #b7c7b0; stroke-width: 1.2; stroke-linejoin: round; }
.fdv-map__zr { fill: none; stroke: var(--fdv-accent); stroke-width: 2; stroke-dasharray: 5 4; }
.fdv-map__sea { fill: #edf3f5; }
.fdv-map__dep { fill: #f6f5ef; stroke: #d3d6cc; stroke-width: 1; stroke-linejoin: round; }
.fdv-map__dep--main { fill: #e4ede0; stroke: #a9bba2; }
.fdv-map__mark circle { fill: var(--fdv-accent); stroke: #fff; stroke-width: 2.5; }
.fdv-map__mark--farm path { fill: var(--fdv-red); stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.fdv-map__mark:hover circle, .fdv-map__mark:hover path { filter: brightness(1.25); }
.fdv-map__label text { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; fill: #232323; }
.fdv-map__name { font-weight: 700; }
.fdv-map__label--farm .fdv-map__name { fill: var(--fdv-red); }
.fdv-map__date { fill: #4b4f48; }
.fdv-map__label line { stroke: #8a8f86; stroke-width: 1; }
.fdv-map__caption { font-size: .85rem; color: var(--fdv-grey); padding: .35rem .75rem; border-top: 1px solid var(--fdv-line); background: #fff; }
.fdv-map__item { display: flex; align-items: center; gap: .65rem; padding: .55rem .75rem; border: 1px solid var(--fdv-line); border-radius: 6px; color: inherit; text-decoration: none; }
.fdv-map__item:hover, .fdv-map__item:focus-visible { border-color: var(--fdv-accent); background: var(--fdv-accent-soft); color: inherit; }
.fdv-map__icon { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--fdv-accent); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--fdv-line); }
.fdv-map__item--farm .fdv-map__icon { border-radius: 0; background: var(--fdv-red); clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); box-shadow: none; width: 16px; height: 15px; }
.fdv-map__txt { display: flex; flex-direction: column; line-height: 1.3; }
.fdv-map__txt span { font-size: .9rem; color: #4b4f48; }
@media (max-width: 767.98px) {
  .fdv-map__grid, .fdv-map__grid--single { grid-template-columns: minmax(0, 1fr); grid-template-areas: "zoom" "fr" "legend"; }
  .fdv-map__fr { max-width: 420px; width: 100%; justify-self: center; }
}
