/* ============================================================
   ANSPACH — Page Shopping et carte enseigne
   Mosaique des enseignes : tuile horaires, onze enseignes, tuile acces et
   photo. La carte enseigne (.shop) definie ici sert aussi en bas des fiches.
   ============================================================ */

/* ---------- Mosaique ----------
   1 colonne en mobile, 2 des 560px, 4 en desktop. Les tuiles larges
   (horaires, photo) repassent pleine largeur quand la place manque. En
   desktop les tuiles enseigne sont carrees et donnent leur hauteur aux
   tuiles larges de la meme rangee. */
.mosaic { display:grid; grid-template-columns:1fr; gap:12px }
@media (min-width:560px) { .mosaic { grid-template-columns:repeat(2,1fr) } }
@media (min-width:1024px) { .mosaic { grid-template-columns:repeat(4,1fr) } }
.tile-wide { grid-column:1/-1 }
@media (min-width:1024px) { .tile-wide { grid-column:span 2 } }

/* Carte enseigne */
.shop { position:relative; overflow:hidden; background:#F6F2F8; display:flex; flex-direction:column; padding:22px; min-height:214px;
        transition:background-color .3s ease, box-shadow .35s ease, transform .35s cubic-bezier(.22,.61,.36,1) }
@media (min-width:1024px) { .shop { min-height:0; aspect-ratio:1 } }
.shop:hover { background:#EFE4EE; color:inherit; transform:translateY(-3px); box-shadow:0 12px 30px rgba(35,0,68,.10) }
.shop-mark { flex:1; display:flex; align-items:center; justify-content:center; min-height:96px; padding:4px 4px 16px }
.shop-logo { width:80%; height:100%; min-height:72px; background-size:contain; background-position:center; background-repeat:no-repeat;
             transition:transform .5s cubic-bezier(.22,.61,.36,1) }
.shop:hover .shop-logo { transform:scale(1.06) }
.shop-plain { font-family:'Bodoni Moda',serif; font-size:26px; line-height:1.1; font-weight:500; color:#230044; letter-spacing:-.02em; text-align:center }
@media (min-width:768px) { .shop-plain { font-size:28px } }
.shop-name { font:700 14px Figtree,sans-serif; letter-spacing:.01em; color:#230044 }
.shop-foot { margin-top:12px; padding-top:12px; border-top:1px solid rgba(35,0,68,.14);
             display:flex; align-items:baseline; justify-content:space-between; gap:10px }
.shop-cat { font:600 11px Figtree,sans-serif; letter-spacing:.1em; text-transform:uppercase; color:rgba(35,0,68,.55) }
.shop-link { font:700 12px Figtree,sans-serif; color:rgba(35,0,68,.7); white-space:nowrap }

/* Tuile horaires */
.hours { background:#5554A0; color:#fff; padding:28px 26px; display:flex; flex-direction:column; justify-content:space-between; gap:20px; min-height:230px }
@media (min-width:768px) { .hours { padding:32px 36px; min-height:260px } }
@media (min-width:1024px) { .hours { min-height:0 } }
.hours-top { display:flex; align-items:baseline; justify-content:space-between; gap:16px; flex-wrap:wrap }
.hours-k { font:600 11px Figtree,sans-serif; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.82) }
.hours-day { font:600 13px Figtree,sans-serif; color:rgba(255,255,255,.88) }
.hours-n { font-family:'Bodoni Moda',serif; font-size:38px; line-height:1; font-weight:500; letter-spacing:-.02em; color:#fff }
@media (min-width:768px) { .hours-n { font-size:48px } }
@media (min-width:1024px) { .hours-n { font-size:42px } }
@media (min-width:1280px) { .hours-n { font-size:56px } }
.hours-foot { display:flex; flex-direction:column; gap:8px; padding-top:16px; border-top:1px solid rgba(255,255,255,.22); font:500 14px Figtree,sans-serif }
@media (min-width:768px) { .hours-foot { flex-direction:row; align-items:baseline; justify-content:space-between; gap:20px } }
.hours-foot .a { color:rgba(255,255,255,.9) }
.hours-foot .a i { font-style:normal; color:rgba(255,255,255,.6) }
.hours-foot .b { font-size:13px; color:rgba(255,255,255,.86) }

/* Tuile acces */
.access { position:relative; overflow:hidden; background:#DFE9E5; color:#230044; display:flex; flex-direction:column; justify-content:space-between; gap:22px; padding:22px; min-height:214px;
          transition:background-color .35s ease, color .35s ease, transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease }
@media (min-width:1024px) { .access { min-height:0; aspect-ratio:1 } }
.access:hover { background:#6D9987; color:#fff; transform:translateY(-3px); box-shadow:0 12px 30px rgba(35,0,68,.12) }
.access-t { display:block; font-family:'Bodoni Moda',serif; font-size:24px; line-height:1.1; font-weight:500; letter-spacing:-.02em; color:inherit }
@media (min-width:768px) { .access-t { font-size:26px } }
.access-adr { display:block; margin-top:12px; font:600 13px Figtree,sans-serif; line-height:1.55; color:inherit }
.access-go { display:inline-flex; align-items:center; gap:8px; font:700 13px Figtree,sans-serif; color:inherit }

/* Tuile photo */
.shot { position:relative; overflow:hidden; background:#EFE4EE; min-height:230px }
@media (min-width:1024px) { .shot { min-height:0 } }
.shot img { position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover; display:block;
            transition:transform .8s cubic-bezier(.22,.61,.36,1) }
.shot:hover img { transform:scale(1.05) }

@media (prefers-reduced-motion:reduce) {
  .shop:hover, .access:hover { transform:none }
  .shot:hover img, .shop:hover .shop-logo { transform:none }
}
.access-go-arrow { font-size:16px }
