/* VORORO — mini-cartes à déployer, inspiration parcours mobile compact.
   Ne touche ni au tri des offres ni à Geoapify, aux cookies, aux impressions ou aux comptes. */
html[data-vororo-mode="client"] #offerGrid > .offer > .picture{
  aspect-ratio:16/10;height:auto;min-height:0;
}
html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card > .vororo-directory-picture{
  aspect-ratio:16/10;
}
html[data-vororo-mode="client"] #offerGrid .vororo-card-expand{display:none}

@media(max-width:650px){
  html[data-vororo-mode="client"] #offerGrid.items{grid-template-columns:minmax(0,1fr);gap:9px;margin-top:12px}
  html[data-vororo-mode="client"] #offerGrid > .offer,
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card{
    display:grid;grid-template-columns:112px minmax(0,1fr);gap:0;
    min-height:112px;max-width:100%;border-radius:14px;
    box-shadow:0 3px 12px rgba(24,33,48,.07);overflow:hidden;
    transform:none;
  }
  html[data-vororo-mode="client"] #offerGrid > .offer:not(.is-expanded) > .picture,
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card:not(.is-expanded) > .vororo-directory-picture{
    grid-column:1;width:112px;height:100%;min-height:112px;max-height:156px;
    aspect-ratio:auto;border-radius:0;align-self:stretch;
  }
  html[data-vororo-mode="client"] #offerGrid > .offer:not(.is-expanded) > .picture img,
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card:not(.is-expanded) > .vororo-directory-picture img{
    width:100%;height:100%;object-fit:cover;
  }
  html[data-vororo-mode="client"] #offerGrid > .offer > .offer-body,
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card > .vororo-directory-body{
    grid-column:2;min-width:0;padding:9px 10px;display:flex;
    flex-direction:column;gap:3px;
  }
  html[data-vororo-mode="client"] #offerGrid > .offer:not(.is-expanded) > .offer-body > :not(h3):not(.resname):not(.vororo-card-expand),
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card:not(.is-expanded) > .vororo-directory-body > :not(.vororo-directory-name):not(.vororo-directory-summary):not(.vororo-directory-no-promo):not(.vororo-directory-expand){
    display:none!important;
  }
  html[data-vororo-mode="client"] #offerGrid > .offer .offer-body h3{
    font-size:15px;line-height:1.22;margin:0 0 3px;letter-spacing:-.2px;
    overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  }
  html[data-vororo-mode="client"] #offerGrid > .offer:not(.is-expanded) .resname{
    font-size:12px;line-height:1.25;overflow:hidden;display:-webkit-box;
    -webkit-line-clamp:2;-webkit-box-orient:vertical;
  }
  html[data-vororo-mode="client"] #offerGrid > .offer:not(.is-expanded) .resname .v-icon{width:15px;height:15px}
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card .vororo-directory-name{font-size:15px;line-height:1.2}
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card:not(.is-expanded) .vororo-directory-name strong{
    overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  }
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card:not(.is-expanded) .vororo-directory-menu{display:none}
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card .vororo-directory-summary{
    font-size:11px;line-height:1.3;
  }
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card:not(.is-expanded) .vororo-directory-no-promo{
    padding:0;border:0;background:transparent;color:#9b5032;
    font-size:10px;line-height:1.22;font-weight:700;
  }
  html[data-vororo-mode="client"] #offerGrid .vororo-card-expand{
    display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;
    margin-top:auto;min-height:32px;padding:5px 8px;border:1px solid #e8d1c6;
    border-radius:9px;background:#fff6f0;color:#a34521;font-size:11px;
    line-height:1.15;font-weight:800;text-align:center;cursor:pointer;
  }
  html[data-vororo-mode="client"] #offerGrid .vororo-card-expand:focus-visible{
    outline:2px solid #b94c29;outline-offset:3px;
  }
  /* Sur la vignette, conserver juste la remise et le prix principal. */
  html[data-vororo-mode="client"] #offerGrid > .offer:not(.is-expanded) .ribbon{
    top:5px;left:5px;padding:3px 6px;font-size:11px;
  }
  html[data-vororo-mode="client"] #offerGrid > .offer:not(.is-expanded) .pricetag{
    bottom:6px;left:5px;right:auto;max-width:calc(100% - 10px);
    padding:4px 6px;gap:0;border-radius:8px;
  }
  html[data-vororo-mode="client"] #offerGrid > .offer:not(.is-expanded) .newprice{font-size:17px;line-height:1.08}
  html[data-vororo-mode="client"] #offerGrid > .offer:not(.is-expanded) .oldprice,
  html[data-vororo-mode="client"] #offerGrid > .offer:not(.is-expanded) .promo-view-badge{display:none}
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card:not(.is-expanded) .vororo-directory-image-label{
    top:auto;bottom:4px;left:4px;right:4px;text-align:center;font-size:9px;
    padding:3px 4px;opacity:.94;
  }
  /* Ouverture sur demande, toutes les informations et actions d'origine redeviennent visibles. */
  html[data-vororo-mode="client"] #offerGrid > .offer.is-expanded,
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card.is-expanded{
    grid-template-columns:minmax(0,1fr);
  }
  html[data-vororo-mode="client"] #offerGrid > .offer.is-expanded > .picture{
    grid-column:1;width:100%;height:auto;min-height:0;max-height:none;
    aspect-ratio:16/10;border-radius:0;
  }
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card.is-expanded > .vororo-directory-picture{
    grid-column:1;width:100%;height:auto;min-height:0;max-height:none;
    aspect-ratio:4/3;border-radius:0;
  }
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card.is-expanded > .vororo-directory-picture img{object-fit:contain}
  html[data-vororo-mode="client"] #offerGrid > .offer.is-expanded > .offer-body,
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card.is-expanded > .vororo-directory-body{
    grid-column:1;padding:13px 14px;gap:7px;
  }
  html[data-vororo-mode="client"] #offerGrid > .offer.is-expanded .offer-body h3{
    font-size:19px;display:block;overflow:visible;
  }
  html[data-vororo-mode="client"] #offerGrid > .offer.is-expanded .vororo-card-expand,
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card.is-expanded .vororo-card-expand{
    align-self:flex-end;order:-1;margin-top:0;
  }
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-divider{margin:0;height:13px}
}
@media(max-width:360px){
  html[data-vororo-mode="client"] #offerGrid > .offer,
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card{grid-template-columns:100px minmax(0,1fr);min-height:110px}
  html[data-vororo-mode="client"] #offerGrid > .offer:not(.is-expanded) > .picture,
  html[data-vororo-mode="client"] #offerGrid > .vororo-directory-card:not(.is-expanded) > .vororo-directory-picture{
    width:100px;min-height:110px;
  }
}
@media(prefers-reduced-motion:reduce){
  html[data-vororo-mode="client"] #offerGrid > .offer{transition:none}
}

/* Interaction unique : appuyer sur la photo ou sur Voir les détails / Réduire. */
@media(max-width:650px){
  html[data-vororo-mode="client"] #offerGrid .offer > .picture[data-photo-expand],
  html[data-vororo-mode="client"] #offerGrid .vororo-directory-card > .vororo-directory-picture[data-photo-expand]{
    cursor:pointer;touch-action:manipulation;
  }
  html[data-vororo-mode="client"] #offerGrid .offer > .picture[data-photo-expand]:focus-visible,
  html[data-vororo-mode="client"] #offerGrid .vororo-directory-card > .vororo-directory-picture[data-photo-expand]:focus-visible{
    outline:3px solid #d85d28;outline-offset:-3px;
  }
}
