.vimmo-badge { display: inline-block; padding: .2em .7em; border-radius: 999px; background: #111; color: #fff; font-size: .8em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vimmo-headline { margin: .4em 0; color: #555; letter-spacing: .06em; text-transform: uppercase; font-size: .85em; }
.vimmo-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75em; font-size: 1.75em; line-height: 1.3; font-weight: 800; }
/* Annex 4.1/4.2: label at least the height of the price line, minimum 20 px. */
.vimmo-peb svg { display: block; height: 1.3em; min-height: 20px; width: auto; }
.vimmo-peb--text { font-size: .6em; font-weight: 700; }
.vimmo-facts { display: flex; flex-wrap: wrap; gap: 1.5em; list-style: none; margin: 1em 0; padding: 0; }
.vimmo-facts li { display: flex; flex-direction: column; }
.vimmo-facts strong { font-size: 1.25em; }
.vimmo-facts span { font-size: .8em; color: #666; }
.vimmo-energy { margin: 2em 0; }
.vimmo-energy__mentions { list-style: none; padding: 0; margin: .75em 0 0; }
.vimmo-details details { border-top: 1px solid #ddd; padding: .75em 0; }
.vimmo-details summary { cursor: pointer; font-weight: 700; }
.vimmo-details dl { display: grid; grid-template-columns: minmax(10em, 1fr) 2fr; gap: .35em 1em; margin: .75em 0 0; }
.vimmo-details dd { margin: 0; }
.vimmo-legal { font-size: .8em; color: #555; }
.vimmo-legal p { margin: .2em 0; }
.vimmo-gallery { position: relative; }
.vimmo-gallery__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; aspect-ratio: 16 / 7; }
.vimmo-gallery__item { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; }
.vimmo-gallery__item:first-child { grid-row: span 2; }
.vimmo-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vimmo-gallery__all { position: absolute; right: 12px; bottom: 12px; padding: .5em 1em; border: 0; border-radius: 4px; background: #fff; font-weight: 700; cursor: pointer; }
.vimmo-gallery__dialog { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.92); color: #fff; }
.vimmo-gallery__dialog figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.vimmo-gallery__dialog img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.vimmo-gallery__close, .vimmo-gallery__prev, .vimmo-gallery__next { position: absolute; border: 0; background: none; color: #fff; font-size: 2.5em; cursor: pointer; }
.vimmo-gallery__close { top: 8px; right: 16px; }
.vimmo-gallery__prev { left: 16px; top: 50%; }
.vimmo-gallery__next { right: 16px; top: 50%; }
@media (max-width: 700px) {
	.vimmo-gallery__grid { grid-template-columns: 1fr; grid-template-rows: none; aspect-ratio: 4 / 3; }
	.vimmo-gallery__item:not(:first-child) { display: none; }
}
.vimmo-filters { display: flex; flex-wrap: wrap; gap: .5em; margin-bottom: 1.5em; }
.vimmo-filters select, .vimmo-filters input, .vimmo-filters button { padding: .5em .75em; font: inherit; }
.vimmo-filters select { max-width: 100%; }
.vimmo-grid__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.vimmo-card { position: relative; border: 1px solid #e5e5e5; border-radius: 6px; overflow: hidden; background: #fff; }
.vimmo-card a { color: inherit; text-decoration: none; display: block; }
.vimmo-card__image { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.vimmo-card .vimmo-badge { position: absolute; top: 10px; left: 10px; }
.vimmo-card__body { padding: 14px 16px 16px; }
.vimmo-card .vimmo-price-row { font-size: 1.35em; }
.vimmo-card__title { margin: .4em 0 .2em; font-size: 1em; }
.vimmo-card__facts { margin: 0; color: #666; font-size: .85em; }
.vimmo-grid__pages { display: flex; gap: .5em; justify-content: center; margin-top: 2em; }
.vimmo-grid__waiting { margin: 1em 0 2em; padding: 2.5em 1.5em; background: #f6f6f6; border-radius: 6px; text-align: center; }
.vimmo-grid__waiting p { margin: 0 0 .75em; }
.vimmo-grid__waiting-title { margin: 0 0 .6em; font-size: 1.5em; line-height: 1.3; }
.vimmo-grid__waiting-contact { display: flex; flex-wrap: wrap; gap: .75em 2em; justify-content: center; margin: 1em 0 0 !important; font-weight: 600; }
.vimmo-grid__empty a { margin-left: .5em; white-space: nowrap; }
.vimmo-visit { margin: 2.5em 0; padding: 1.5em; background: #f6f6f6; border-radius: 6px; }
.vimmo-visit label { display: block; }
.vimmo-visit input[type=text], .vimmo-visit input[type=email], .vimmo-visit input[type=tel], .vimmo-visit textarea { width: 100%; padding: .5em; font: inherit; }
.vimmo-visit__hp { position: absolute; left: -9999px; }
.vimmo-visit__ok { color: #1a6b2a; font-weight: 700; }
.vimmo-visit__error { color: #a40e26; font-weight: 700; }

.vimmo-container { max-width: 1140px; margin: 0 auto; padding: 2rem 16px; box-sizing: border-box; }
.vimmo-title { margin: 1rem 0 .25rem; }

/* Theme-proofing: reset button styles inherited from classic themes (Hestia styles every <button>
   with a ~(0,6,2) selector, hence !important, proven necessary on a real Hestia render). */
.vimmo-gallery .vimmo-gallery__item { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; color: inherit !important; }
.vimmo-gallery .vimmo-gallery__all { background: #fff !important; color: #111 !important; border: 0 !important; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; font-size: .9em !important; }
.vimmo-gallery .vimmo-gallery__dialog .vimmo-gallery__close,
.vimmo-gallery .vimmo-gallery__dialog .vimmo-gallery__prev,
.vimmo-gallery .vimmo-gallery__dialog .vimmo-gallery__next { background: transparent !important; color: #fff !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; text-transform: none !important; }

/* Hestia (classic theme): its header is `nav.navbar.navbar-fixed-top` (~71px) and overlays the page start. Offset our templates below it. */
body.wp-theme-hestia .vimmo-container { padding-top: 96px; }
.vimmo-regional { margin: 2em 0; }
.vimmo-regional__mentions { list-style: none; padding: 0; margin: .75em 0 0; }
.vimmo-regional__symbol { vertical-align: middle; height: 3em; width: auto; }
