/* IVOMAC V1191 — catalogue photo, responsive et léger */
.ivomac1191Grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:14px 0 20px}
.ivomac1191Grid .ivomac1191Card,.ivomac1191Grid .ivomac1191MerchantCard{min-width:0;display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;margin:0!important;border:1px solid #d9e6dd!important;border-radius:16px!important;overflow:hidden;background:#fff!important;box-shadow:0 3px 14px rgba(12,64,38,.07)}
.ivomac1191Cover{height:auto;aspect-ratio:4/3;width:100%;background:#e9f1eb;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}
.ivomac1191Cover img{display:block;width:100%;height:100%;object-fit:cover}
.ivomac1191Placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:56px;color:#16553b;background:linear-gradient(140deg,#e7f2ea,#d5e8db)}
.ivomac1191Grid .ivomac1191CardBody,.ivomac1191Grid .ivomac1191MerchantCard>div:not(.ivomac1191Cover){display:grid;gap:8px;padding:13px;flex:1;min-width:0}
.ivomac1191Grid .ivomac1191CardBody small,.ivomac1191Grid .ivomac1191MerchantCard small{font-size:12px;line-height:1.45;color:#52685c;overflow-wrap:anywhere}
.ivomac1191Grid .ivomac1191Card>.ivomacButton{margin:0 13px 13px!important;align-self:stretch!important;min-height:38px}
.ivomac1191Grid .ivomac1191MerchantCard .ivomacButton{width:100%;margin-top:auto}
.ivomac1191Grid .ivomac1191MerchantCard .ivomac1191Cover img{max-width:none;max-height:none}
#ivomac1191Lightbox{position:fixed;inset:0;z-index:2147483000;background:rgba(4,12,10,.96);display:flex;align-items:center;justify-content:center;padding:48px 55px;box-sizing:border-box}
#ivomac1191Lightbox img{width:auto;height:auto;max-width:100%;max-height:88vh;object-fit:contain;touch-action:pan-x pan-y}
#ivomac1191Lightbox button{position:absolute;z-index:2;border:0;border-radius:50%;background:#f6fff4;color:#173b27;font-size:25px;cursor:pointer;width:42px;height:42px}
#ivomac1191Lightbox [data-lightbox-close]{right:15px;top:15px}
#ivomac1191Lightbox [data-lightbox-prev]{left:9px;top:50%}
#ivomac1191Lightbox [data-lightbox-next]{right:9px;top:50%}
#ivomac1191Lightbox .ivomac1191Count{position:absolute;bottom:13px;color:#fff;font-size:13px}
#ivomac1127StructureOverlay .mci997Gallery img,#mci997ShopOverlay .mci997Gallery img{cursor:zoom-in}
@media(max-width:900px){.ivomac1191Grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.ivomac1191Grid{grid-template-columns:1fr;gap:12px}#ivomac1191Lightbox{padding:45px 30px}.ivomac1191Cover{aspect-ratio:16/10}}

/* V1193 — carte illustrée lorsque la fiche ne dispose pas d'une photo approuvée */
.ivomac1191Cover .ivomac1193Illustration{display:block;width:100%;height:100%;position:absolute;inset:0;overflow:hidden}
.ivomac1191Cover .ivomac1193Illustration[hidden]{display:none!important}
.ivomac1191Cover .ivomac1193Illustration img{display:block;width:100%;height:100%;object-fit:cover}
.ivomac1193IllustrationLabel{position:absolute;left:9px;bottom:9px;background:rgba(13,54,39,.86);color:#fff;font:600 11px/1.2 system-ui,sans-serif;letter-spacing:.01em;padding:5px 9px;border-radius:99px}
.ivomac1191Cover:has(.ivomac1193RealPhoto:not([hidden])) .ivomac1193Illustration{display:none!important}
.ivomac1191Grid .ivomac1191Card:hover,.ivomac1191Grid .ivomac1191MerchantCard:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(12,64,38,.13)}
.ivomac1191Grid .ivomac1191Card,.ivomac1191Grid .ivomac1191MerchantCard{transition:transform .18s ease,box-shadow .18s ease}
@media(prefers-reduced-motion:reduce){.ivomac1191Grid .ivomac1191Card,.ivomac1191Grid .ivomac1191MerchantCard{transition:none}}

/* V1194: preserve Cap Sud/Cosmos ratio, reliable source credits, no image distortion */
.ivomac1191Grid .ivomac1191Cover {aspect-ratio:4/3!important;height:auto!important;min-height:0;isolation:isolate}
.ivomac1191Grid .ivomac1191Cover>.ivomac1193RealPhoto {width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;position:absolute;inset:0}
.ivomac1194Credit{position:absolute;z-index:2;bottom:7px;right:8px;background:rgba(14,39,31,.86);color:white!important;text-decoration:none;font:600 10px/1.3 system-ui,sans-serif;border-radius:8px;padding:4px 7px;max-width:70%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ivomac1194Credit:hover,.ivomac1194Credit:focus{text-decoration:underline}
.ivomac1194DetailCredit{display:block;font-size:12px;margin:6px 0}
@media(max-width:550px){.ivomac1191Grid .ivomac1191Cover {aspect-ratio:16/10!important}}
