/* EPA V103 — scoped salon catalogue redesign. No reservation, price or map logic changed. */
#epaWorkspace .epa-v41-room-grid.epa-v51-cards{width:100%;min-width:0;gap:10px!important;align-items:start}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards>.epa-v41-room-card{min-width:0!important;width:100%!important;max-width:none!important;margin:0!important;overflow:hidden!important;border:1px solid #e0e9f0!important;border-radius:15px!important;background:#fff!important;box-shadow:0 3px 12px rgba(15,49,76,.075)!important;align-self:start}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-content{min-width:0!important;padding:10px 11px 9px!important;gap:4px!important;background:#fff!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-content h3{font-size:14px!important;line-height:1.3!important;letter-spacing:-.2px!important;color:#123954!important;font-weight:750!important;overflow-wrap:anywhere!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-place{font-size:11px!important;color:#667b8d!important;line-height:1.35!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-meta{font-size:11px!important;color:#45677e!important;line-height:1.4!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-salon-rating{display:block!important;font-size:10px!important;line-height:1.45!important;color:#758696!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-price{font-size:15px!important;line-height:1.3!important;font-weight:800!important;color:#0b3d5b!important;margin-top:3px!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-price small{font-size:10px!important;color:#788997!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-day{font-size:10px!important;color:#607789!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v52-room-actions{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;gap:7px!important;padding:9px 10px 10px!important;margin:0!important;background:#fff!important;border-top:1px solid #edf2f6!important;min-width:0!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v52-room-actions .epa-btn{width:100%!important;min-width:0!important;min-height:34px!important;margin:0!important;padding:7px 5px!important;border-radius:9px!important;font-size:11px!important;line-height:1.25!important;font-weight:700!important;white-space:normal!important;box-shadow:none!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v52-room-actions .epa-btn.gold{background:#e8bf60!important;color:#173c52!important;border-color:#e8bf60!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v52-room-actions .epa-btn.light{background:#fff!important;color:#36546c!important;border:1px solid #dce6ed!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards>.epa-v41-room-card>img,
#epaWorkspace .epa-v41-room-grid.epa-v51-cards>.epa-v41-room-card>.epa-v41-room-image{display:block!important;width:100%!important;object-fit:contain!important;object-position:center!important;background:#eef3f7!important}
/* Yan yana: balanced two-column tiles, without giant photos or text blocks. */
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card{display:flex!important;flex-direction:column!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card>img,
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card>.epa-v41-room-image{height:118px!important;min-height:118px!important;max-height:118px!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"] .epa-v41-room-content{padding:9px!important;flex:1!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"] .epa-v41-room-content h3{font-size:12px!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"] .epa-v41-room-meta,
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"] .epa-v41-room-place{font-size:10px!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"] .epa-v52-room-actions{padding:7px!important;gap:5px!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"] .epa-v52-room-actions .epa-btn{font-size:10px!important;min-height:34px!important}
/* When there is only one listing, use available width instead of an awkward half-screen orphan. */
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card:only-child{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(105px,35%) minmax(0,1fr)!important;align-items:stretch!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card:only-child>img,
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card:only-child>.epa-v41-room-image{grid-row:1!important;height:100%!important;min-height:148px!important;max-height:none!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card:only-child>.epa-v52-room-actions{grid-column:1/-1!important}
/* Alt alta: photo beside text, actions underneath; compact but comfortably readable. */
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"]{grid-template-columns:minmax(0,1fr)!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"]>.epa-v41-room-card{display:grid!important;grid-template-columns:minmax(110px,34%) minmax(0,1fr)!important;align-items:stretch!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"]>.epa-v41-room-card>img,
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"]>.epa-v41-room-card>.epa-v41-room-image{height:100%!important;min-height:147px!important;max-height:none!important;grid-row:1!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"] .epa-v52-room-actions{grid-column:1/-1!important}
/* Kompakt: tighter horizontal layout, still no cropped photos. */
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"]{grid-template-columns:minmax(0,1fr)!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"]>.epa-v41-room-card{display:grid!important;grid-template-columns:minmax(98px,30%) minmax(0,1fr)!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"]>.epa-v41-room-card>img,
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"]>.epa-v41-room-card>.epa-v41-room-image{height:100%!important;min-height:132px!important;max-height:none!important;grid-row:1!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"] .epa-v41-room-content{padding:8px 10px!important;gap:3px!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"] .epa-v52-room-actions{grid-column:1/-1!important;padding:7px 9px!important}
@media(max-width:360px){#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"] .epa-v52-room-actions{grid-template-columns:1fr!important}}
