#no-posts-container {
    width: 700px;
    margin: auto;
    padding-top: 10%;

    display: flex;
    flex-direction: column;
}

.no-posts-title {
    font-size: 2rem;
    font-family: var(--bold-font);
    color: var(--primary-color);
}

.no-posts-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    margin: 0;
    padding-left: 2rem;

    list-style: unset;
    font-size: 1.25rem;
}

.no-posts-list > li > a {
    font-weight: bold;
    color: var(--primary-color);
}

#results-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin: 50px 20%;
}

.product-card {
    width: 100%;
    min-height: 200px;
    padding: 0;

    display: flex;
    justify-content: space-between;
    gap: 1rem;

    border: 1px solid black;
    border-radius: 20px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    background-color: var(--lighter-color);
}

.img-product {
    height: 100%;
    min-width: 200px;
    width: 200px;

    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;

    object-fit: contain;
    background-color: var(--lighter-color);
}

.product-card > div {
    width: 100%;
    height: 100%;
    padding: 1rem 1rem 1rem 0;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.product-description {
    width: 100%;
    height: 122px;
    margin: 0;
    text-align: start;
    overflow-y: auto;
}

.price-group {
    display: flex;
    align-self: flex-end;
    align-items: center;
    gap: 1rem;
}

.product-card-group {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    border-radius: 20px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    background-color: var(--lighter-color);
    border: 1px solid black;
    overflow: hidden;
}

.sub-product-card {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
    min-height: 200px;
    background-color: var(--lighter-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sub-product-card:last-child {
    border-bottom: none;
}

.sub-product-card .img-product {
    border-radius: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    height: 200px;
    width: 200px;
    object-fit: contain;
    background-color: var(--lighter-color);
}

.product-card-group .sub-product-card:first-child {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.product-card-group .sub-product-card:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.sub-product-card > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 1rem 1rem 0;
    width: 100%;
}

.sub-product-card:hover {
    background-color: rgba(0, 0, 0, 0.03);
    transition: background-color 0.2s ease-in-out;
}

.product-card:not(.product-card-group) {
    align-items: center;
}
