/**
 * Megamenu – collection categories layout
 *
 * Styles for the [collection_categories] shortcode (Greg_Megamenu).
 * Enqueued conditionally by the module only when the shortcode renders.
 */

.collection-categories-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.collection-column {
    flex: 1;
}

.collection-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.collection-item {
    padding: 6px 0;
    cursor: pointer;
}

.collection-item::before {
    content: "";
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--e-global-color-accent);
    display: inline-block;
    margin: 0 8px 2px 1px;
}

.collection-item a {
    text-decoration: none;
    color: inherit;
}

.collection-item:hover {
    color: var(--e-global-color-accent);
}

.collection-column.with-beds,
.collection-column.without-beds {
    flex: 0 0 18%;
    width: 18%;
    padding: 30px 0;
}

.collection-column.image-display {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.kolekce-megamenu-image {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 30px;
    transition: background-image 0.5s ease;
    box-sizing: border-box;
}

.collection-categories-container h3 {
    font-family: var(--e-global-typography-147b3a4-font-family), Roboto, sans-serif;
    font-size: var(--e-global-typography-147b3a4-font-size);
    font-weight: var(--e-global-typography-147b3a4-font-weight);
    line-height: var(--e-global-typography-147b3a4-line-height);
}
