/* Image size consistency fix for MoleCatalog */

/* Set consistent image size for catalog items */
.molecatalog-item-image {
    height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.molecatalog-item-image img {
    max-height: 180px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Ensure placeholder images are sized properly */
.molecatalog-placeholder-image {
    max-height: 180px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

/* Make sure large images don't break the layout in modal */
.molecatalog-modal-content img {
    max-width: 100% !important;
    max-height: 300px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Prevent scrolling in modal */
.molecatalog-modal-content {
    overflow: hidden !important;
}

/* Ensure consistent beer item height and layout */
.molecatalog-catalog-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
