/* =================================
   HEADER
   ================================= */

.vc_row.tdi_18.site-header.wpb_row.td-pb-row {
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}

.td-header-desktop-wrap {
    background: #fff;
    border-bottom: 1px solid #D9D2C8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

#td-outer-wrap{
    background-color: #F6F1EB;

}

/* =================================
   CONTAINER
   ================================= */

main.gb-utilaje-archive {
    width: min(1400px, calc(100% - 64px));
    margin: 0 auto;
}


/* =================================
   ARCHIVE
   ================================= */

.gb-utilaje-archive {
    font-family: 'Montserrat', sans-serif;
    color: #303330;
}


/* =================================
   HERO
   ================================= */

.gb-category-hero {
    padding: 40px 0 20px;
}

.gb-category-label {
    display: block;
    margin-bottom: 10px;

    color: #FEA637;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.2;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gb-category-hero h1 {
    margin: 0 0 14px;

    color: #2E4F4D;

    font-size: 32px;
    font-weight: 600;
    line-height: 1.1;

    letter-spacing: -.025em;
}

.gb-category-description {
    margin: 0;
    color: #1E2523;
    font-size: 14px;
    line-height: 1.75;
}


/* =================================
   MAIN SECTION
   ================================= */

.gb-utilaje-section {
    padding: 20px 0 90px;
}

.gb-utilaje-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 55px;
    align-items: start;
    overflow: visible;

}


/* =================================
   FILTERS
   ================================= */

.gb-utilaje-layout,
.gb-utilaje-section,
.gb-utilaje-section .gb-container {
    overflow: visible !important;
}


.gb-utilaje-filters {
    position: -webkit-sticky;
    position: sticky;
    top: 120px !important;
    align-self: start;
    height: max-content;
}


.gb-utilaje-filters h2 {
    margin: 0 0 18px;

    color: #2E4F4D;

    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.gb-filter-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gb-filter-category {
    display: flex;
    flex-direction: column;
}

.gb-filter-item {
    width: 100%;

    padding: 10px 13px;

    border: 0;
    border-left: 3px solid transparent;

    background: transparent;

    color: #2F4F4D;

    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;

    line-height: 1.4;
    text-align: left;

    cursor: pointer;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}


/* TOATE */

.gb-filter-all {
    margin-bottom: 8px;
    font-weight: 600;
}


/* CATEGORII PRINCIPALE */

.gb-filter-parent {
    font-weight: 600;
}


/* HOVER */

.gb-filter-item:hover {
    color: #2E7572;
    background: #F5F1EB;
}


/* ACTIVE */

.gb-filter-item.active {
    color: #2E7572;
    background: #fff;
    border-left-color: #FEA637;
}


/* =================================
   SUBCATEGORIES
   ================================= */

.gb-filter-subcategories {
    display: flex;
    flex-direction: column;

    margin: 1px 0 7px 15px;
    padding-left: 12px;

    border-left: 1px solid #D9D2C8;
}

.gb-filter-child {
    position: relative;

    padding: 7px 10px;

    color: #686864;

    font-size: 13px;
    font-weight: 400;
}

.gb-filter-child::before {
    content: '';

    position: absolute;

    left: -13px;
    top: 50%;

    width: 7px;
    height: 1px;

    background: #D9D2C8;
}

.gb-filter-child:hover {
    color: #2E7572;
    background: transparent;
}

.gb-filter-child.active {
    color: #2E7572;
    font-weight: 600;
    background: transparent;
    border-left-color: transparent;
}


/* =================================
   PRODUCTS
   ================================= */

.gb-utilaje-products {
    min-width: 0;
}

.gb-utilaje-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 28px;
}


/* =================================
   PRODUCT CARD
   ================================= */

.gb-utilaj-card-related {
    overflow: hidden;

    background-color: #FAFAFA;

    border-radius: 8px;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.gb-utilaj-card-related:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(47, 79, 77, .10);
}

.gb-utilaj-card-related a {
    display: block;

    color: inherit;
    text-decoration: none;
}


/* =================================
   CARD IMAGE
   ================================= */

.gb-utilaj-card-related img {
    display: block;

    width: 100%;
    height: 220px;

    object-fit: cover;
}


/* =================================
   CARD CONTENT
   ================================= */

.gb-utilaj-card-content {
    padding: 22px 23px 25px;
}

.gb-utilaj-card-content h2 {
    margin: 0 0 10px;

    color: #2E4F4D;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;

    letter-spacing: -.015em;
}

.gb-utilaj-card-description {
    display: -webkit-box;

    margin: 0 0 15px;

    overflow: hidden;

    color: #686864;

    font-size: 13px !important;
    line-height: 1.6;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.gb-card-link {
    display: inline-flex;
    align-items: center;

    color: #FEA637;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.3;
    letter-spacing: .05em;
    text-transform: uppercase;

    transition: color .2s ease;
}

.gb-utilaj-card-related:hover .gb-card-link {
    color: #2E4F4D;
}


/* =================================
   LOADING
   ================================= */

.gb-utilaje-products {
    transition: opacity .2s ease;
}

.gb-utilaje-products.is-loading {
    opacity: .45;
    pointer-events: none;
}


/* =================================
   EMPTY STATE
   ================================= */

.gb-no-utilaje {
    margin: 0;

    padding: 35px;

    background: #F5F1EB;

    color: #686864;

    font-size: 13px;
    line-height: 1.6;

    text-align: center;

    border-radius: 8px;
}

.gb-utilaje-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 45px;
}

.gb-pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #D9D2C8;
    border-radius: 4px;
    background: #fff;
    color: #2E4F4D;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.gb-pagination-item:hover,
.gb-pagination-item.active {
    background: #2E7572;
    border-color: #2E7572;
    color: #fff;
}


/* =================================
   TABLET
   ================================= */

@media (max-width: 991px) {

    main.gb-utilaje-archive {
        width: min(100% - 48px, 1200px);
    }

    .gb-utilaje-section {
        padding-bottom: 70px;
    }

    .gb-utilaje-layout {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 40px;
    }

    .gb-utilaje-grid {
        gap: 30px 20px;
    }

    .gb-utilaj-card-related img {
        height: 205px;
    }
}


/* =================================
   MOBILE
   ================================= */

@media (max-width: 767px) {

    main.gb-utilaje-archive {
        width: calc(100% - 32px);
    }

    .gb-category-hero {
        padding: 50px 0 40px;
    }

    .gb-category-hero h1 {
        font-size: 30px;
    }

    .gb-category-description {
        font-size: 13px;
    }

    .gb-utilaje-section {
        padding: 15px 0 60px;
    }

    .gb-utilaje-layout {
        display: block;
    }

    .gb-utilaje-filters {
        position: static;
        margin-bottom: 40px;
    }

    .gb-utilaje-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .gb-utilaj-card-related img {
        height: 220px;
    }

    .gb-utilaj-card-content {
        padding: 20px 21px 23px;
    }

    .gb-utilaj-card-content h2 {
        font-size: 17px;
    }
}