/* Tree-step tile layout for F&D / Pros. Colors come from countertop-wizard_reskin_fd.css variables. */

.generic-tree-header {
    padding: 15px 0;
}

    .generic-tree-header p {
        font-size: 20px;
        font-weight: bold;
    }

.tiles-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: 50px;
    justify-content: center;
    gap: 10px;
}

.tile-card, .tile-card-assortment, .tile-card-yn-assortment {
    flex: 1 1 calc(25% - 10px);
    max-width: 25%;
    box-sizing: border-box;
    text-align: left;
    background-color: var(--colorWhite-reskin);
    position: relative;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 1px 3px 0px var(--colorPrimary-reskin);
}

.tile-card {
    flex: 1 1 325px;
    max-width: 400px;
    cursor: pointer;
}

.tile-image img {
    width: 100%;
}

.tile-card-selected {
    box-shadow: 0 0 0 3px var(--colorPrimary-reskin);
}

    .tile-card-selected::after {
        content: '✔\fe0e';
        position: absolute;
        top: 5px;
        right: 5px;
        background-color: var(--colorPrimaryButton-reskin);
        color: var(--colorWhite-reskin);
        font-size: 16px;
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

.tile-description {
    padding: 8px 16px 16px 16px;
    display: flex;
    flex-direction: column;
}

    .tile-description p {
        margin-bottom: 0px;
    }

.tile-description-line1 p {
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
}

.tile-description-line2 p {
    font-size: 14px;
    line-height: 19px;
}

.flex-col-2 {
    flex: 1 1 calc(50% - 10px);
    max-width: 50%;
}

@media (max-width: 1024px) {
    .tile-card, .tile-card-assortment, .tile-card-yn-assortment {
        min-width: 40%;
    }
}

@media (max-width: 768px) {
    .tile-card, .tile-card-assortment, .tile-card-yn-assortment,
    .flex-col-2 {
        min-width: 100%;
        max-width: 100%;
    }

    #genericButtonsContainer {
        display: flex;
        flex-direction: column-reverse;
    }
}
