/* HOME PRODUCTS — TenRent NL homepage only. */
.home-products {
    width: 100%;
}

.home-products__grid.products-query {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-left: 0;
}

.home-products .products-query__item.pq-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: 100%;
    max-height: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border: none;
}

.home-products .pq-item__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 240px;
    width: 100%;
    max-width: 100%;
    height: 240px;
    padding: 0;
    overflow: hidden;
}

.home-products .pq-item__thumb > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

.home-products .pq-item__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
}

.home-products .pq-item__container {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.home-products .pq-item__title {
    font-size: 17px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.home-products .pq-item__params {
    margin-bottom: 20px;
}

.home-products .pq-item__params li {
    font-size: 12px;
    line-height: 1.45;
}

.home-products .pq-item__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: auto;
}

.home-products .pq-item__buttons--btn {
    width: 100%;
    padding: 10px 12px;
    text-align: center;
}

/* Price block: matching the NL Stock Level color scheme. */
.home-products .pq-item__price {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 0;
    margin: 12px 0 16px;
    padding: 0;
    background: #f3f8fb;
    border-left: 4px solid #007eb6;
    border-radius: 6px;
    overflow: hidden;
}

.home-products .pq-item__price .model_price {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 11px 10px;
}

.home-products .pq-item__price .model_price + .model_price {
    border-left: 1px solid rgba(0, 126, 182, 0.12);
}

.home-products .pq-item__price .model_price__label {
    margin: 0 0 4px;
    color: #66717d;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25px;
}

.home-products .pq-item__price .model_price__value {
    color: #007eb6;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap;
}

.home-products .pq-item__price .model_price__value > span {
    font-size: 0.7em;
    font-weight: 600;
}

/* Link below the nine cards. */
.home-products__footer {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.home-products__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 36px;
    background-color: var(--e-global-color-secondary, #007eb6);
    border: 2px solid var(--e-global-color-secondary, #007eb6);
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease;
}

.home-products__more:hover,
.home-products__more:focus-visible {
    background-color: transparent;
    color: var(--e-global-color-secondary, #007eb6);
}

@media screen and (max-width: 1150px) {
    .home-products .pq-item__price .model_price__value {
        font-size: 18px;
    }
}

@media screen and (max-width: 992px) {
    .home-products__grid.products-query {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 651px) {
    .home-products__grid.products-query {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-products .pq-item__thumb {
        flex-basis: 280px;
        height: 280px;
    }

    .home-products .pq-item__content {
        padding: 15px;
    }

    .home-products .pq-item__price .model_price {
        padding: 12px;
    }

    .home-products .pq-item__price .model_price__label {
        font-size: 11px;
    }

    .home-products .pq-item__price .model_price__value {
        font-size: 20px;
    }
}

@media screen and (max-width: 390px) {
    .home-products .pq-item__price .model_price {
        padding: 10px 8px;
    }

    .home-products .pq-item__price .model_price__value {
        font-size: 17px;
    }
}
