/*
|--------------------------------------------------------------------------
| Content
|--------------------------------------------------------------------------
*/

.content {
    align-items: flex-start;
    display: flex;
    flex: 0 0 100%;
    flex-flow: row wrap;
    place-content: flex-start;
    width: 100%;
}

/*
|--------------------------------------------------------------------------
| Results list
|--------------------------------------------------------------------------
*/

.result-list {
    align-items: stretch;
    display: flex;
    flex: 0 0 100%;
    flex-flow: row wrap;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    place-content: space-around space-around;
}

.result-list.list {
    flex-flow: column wrap;
}

.result-list.list .product-card,
.result-list.list .manufacturer-card {
    flex-flow: row wrap;
    max-width: initial;
    width: 100%;
}

.result-list.list .product-card a,
.result-list.list .manufacturer-card a {
    flex: 1 0 auto;
    flex-flow: row wrap;
    gap: 16px;
}

.result-list.list .product-card a .product-card-header,
.result-list.list .manufacturer-card a .manufacturer-card-header {
    flex: 0 0 auto;
}

.result-list.list .product-card a .product-card-body,
.result-list.list .manufacturer-card a .manufacturer-card-body {
    flex: 1 1;
}

.result-list.list .product-card .product-card-body .product-title,
.result-list.list .manufacturer-card .manufacturer-card-body .manufacturer-title {
    text-align: start;
    width: 100%;
}

.result-list.list .product-card .product-card-body .product-prices {
    gap: 16px;
    place-content: start start;
}

.result-list.list .product-card .product-card-body .product-description {
    display: flex;
}

.result-list.list .product-card .product-card-body .product-rating {
    flex-flow: row;
    place-content: start start;
}

.result-list.list .product-card .product-card-body .product-rating .opinions-count {
    display: block;
    margin-left: 8px;
}

.result-list.list .product-card .product-card-footer,
.result-list.list .manufacturer-card .manufacturer-card-footer {
    flex: 0 1 auto;
}

.result-list.list .product-card .product-card-footer.hover-footer {
    align-items: flex-end;
    display: flex;
    opacity: 1;
    place-content: center center;
}

.result-list-carousel {
    display: flex;
    padding: 0.25rem 0;
    place-content: space-between;
}

.result-list-carousel .product-card.owl-item {
    margin: 8px;
    max-width: calc(var(--product-card-width) - 15px) !important;
    min-width: calc(var(--product-card-width) - 15px) !important;
    height: auto;
    //height: var(--product-card-height);
}

.product-card.owl-item .product-description {
    display: none;
}

/*
|--------------------------------------------------------------------------
| Subcategories container
|--------------------------------------------------------------------------
*/

.categories-page-container {
    align-items: stretch;
    display: flex;
    flex-flow: row wrap;
    padding: 1rem 0;
    place-content: space-evenly;
    gap: 0.5rem;
}

.categories-page-row-container {
    display: flex;
    flex-flow: row nowrap;
    margin-bottom: 0.5rem;
    overflow-x: auto;
    flex-direction: row;
    position: relative;
    gap: 8px;
    justify-content: space-between;
    padding: 0.5rem;
}

/*
|--------------------------------------------------------------------------
| XS Screen
|--------------------------------------------------------------------------
*/

@media screen and (max-width: 576px) {
    .categories-page-container .subcategory {
        flex-basis: 100%;
    }
}

/*
|--------------------------------------------------------------------------
| Greather than sm
|--------------------------------------------------------------------------
*/

@media screen and (min-width: 576px) {
    .categories-page-container .subcategory {
        flex-basis: 50%;
    }
}

/*
|--------------------------------------------------------------------------
| Greather than md
|--------------------------------------------------------------------------
*/

@media screen and (min-width: 768px) {
    .categories-page-container .subcategory {
        flex-basis: 50%;
    }
}

/*
|--------------------------------------------------------------------------
| Greather than lg
|--------------------------------------------------------------------------
*/

@media screen and (min-width: 992px) {
    .categories-page-container .subcategory {
        flex-basis: calc(100% / 3);
    }
}

/*
|--------------------------------------------------------------------------
| Greather than xl
|--------------------------------------------------------------------------
*/

@media screen and (min-width: 1200px) {
    .categories-page-container .subcategory {
        flex-basis: 25%;
    }
}

/*
|--------------------------------------------------------------------------
| Greather than xxl
|--------------------------------------------------------------------------
*/

@media screen and (min-width: 1400px) {
    .categories-page-container .subcategory {
        flex-basis: 20%;
    }
}
