/*
Theme Name: GO UP Machines
Theme URI: https://goupmachines.com/
Description: Child theme de Hello Elementor per al web de GO UP Machines.
Author: GO UP Machines
Template: hello-elementor
Version: 1.0.0
Text Domain: goup-machines
*/

/*
 * Taula Hero
 * */
.quick-categories {
    display: grid;
    width: min(100%, 890px);
    margin-top: 58px;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,.28);
    border-bottom: 1px solid rgba(255,255,255,.28);
}

.quick-category {
    min-height: 108px;
    display: grid;
    align-items: center;
    grid-template-columns: 35px 1fr 18px;
    padding: 16px 26px;
    border-right: 1px solid rgba(255,255,255,.28);
    cursor: pointer;
    transition:
        background .2s,
        color .2s;
}

.quick-category:first-child {
    border-left: 1px solid rgba(255,255,255,.28);
}

.quick-category:hover {
    background: #EFB815;
    color: #17211f;
}

.quick-category .category-number {
    align-self: start;
    padding-top: 13px;
    margin: 0;
    color: #EFB815;
    font-size: 10px;
    font-weight: 700;
}

.quick-category:hover .category-number {
    color: #17211f;
}

.quick-category .elementor-heading-title {
    color: inherit;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.quick-category .elementor-icon {
    color: inherit;
    font-size: 20px;
}

.quick-category:hover .category-number,
.quick-category:hover .category-number * {
    color: #1f7254 !important;
}

/* Tablet */
@media (max-width: 900px) {

    .quick-categories {
        margin-top: 45px;
    }

    .quick-category {
        padding: 13px;
        grid-template-columns: 26px 1fr 12px;
    }
}

/*Mòbil*/
@media (max-width: 640px) {

    .quick-categories {
        margin-top: 35px;
        grid-template-columns: 1fr;
        border: 0;
    }

    .quick-category {
        min-height: 66px;
        border: 1px solid rgba(255,255,255,.28);
        border-bottom: 0;
    }

    .quick-category:last-child {
        border-bottom: 1px solid rgba(255,255,255,.28);
    }

    .category-number {
        padding-top: 5px;
    }
}