/*
 * Mohar Booking
 * Room Features
 *
 * Feature row used inside room cards.
 */


/*
 * -------------------------------------------------------------------------
 * Feature Row
 * -------------------------------------------------------------------------
 */

.mohar-room-card__features {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    margin-top: 24px;
    margin-bottom: 24px;

}


/*
 * -------------------------------------------------------------------------
 * Individual Feature
 * -------------------------------------------------------------------------
 */

.mohar-room-card__feature {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    min-width: 0;

}


/*
 * -------------------------------------------------------------------------
 * Icon
 * -------------------------------------------------------------------------
 */

.mohar-room-card__feature-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 20px;
    min-width: 20px;

    height: 20px;

    margin-top: 1px;

    color:
        var(--color-primary,
        #294236);

}


/*
 * IMPORTANT:
 *
 * SVG elements have a browser default intrinsic size
 * when width/height are not explicitly defined.
 *
 * Keep the icon restrained so it can never affect
 * the room card layout.
 */

.mohar-room-card__feature-icon svg {

    display: block;

    width: 18px;
    height: 18px;

    max-width: 18px;
    max-height: 18px;

}


/*
 * -------------------------------------------------------------------------
 * Feature Text
 * -------------------------------------------------------------------------
 */

.mohar-room-card__feature-text {

    display: flex;

    flex-direction: column;

    gap: 3px;

    min-width: 0;

}


/*
 * -------------------------------------------------------------------------
 * Feature Label
 * -------------------------------------------------------------------------
 */

.mohar-room-card__feature-label {

    display: block;

    font-size: 10px;

    line-height: 1.3;

    font-weight: 600;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color:
        var(--color-muted,
        #77736b);

}


/*
 * -------------------------------------------------------------------------
 * Feature Value
 * -------------------------------------------------------------------------
 */

.mohar-room-card__feature-value {

    display: block;

    font-size: 13px;

    line-height: 1.4;

    color:
        var(--color-text,
        #2d352f);

}


/*
 * -------------------------------------------------------------------------
 * Responsive
 * -------------------------------------------------------------------------
 */

@media (max-width: 700px) {

    .mohar-room-card__features {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;

    }

}


@media (max-width: 480px) {

    .mohar-room-card__features {

        grid-template-columns: 1fr;

        gap: 16px;

        margin-top: 20px;
        margin-bottom: 20px;

    }

}