/**
 * @version     CVS: 1.0.0
 * @package     com_test
 * @copyright   2024 Agamemnon
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @author      Agamemnon <info@easylogic.gr>
 */

.list {
    padding: 64px 8%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}

.list-item {
    border: 1px solid #e5e5e5;
    border-radius: 14px;

    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    height: 450px;
    overflow: hidden;
    background: #fff;

    box-shadow:
            0 2px 6px rgba(0,0,0,0.06),
            0 8px 24px rgba(0,0,0,0.08);

    transition:
            transform 0.25s ease,
            box-shadow 0.25s ease;

}

.list-item:hover {
    transform: translateY(-4px);

    box-shadow:
            0 6px 12px rgba(0,0,0,0.10),
            0 16px 32px rgba(0,0,0,0.12);
}

.list-item a {
    font-size: 32px;
    font-weight: 600;
}

.list-item a,
.list-item a:hover,
.list-item a:focus,
.list-item a:active {
    text-decoration: none !important;
    color: #FF6600 !important;
}

.list-item .hr1, .item .hr1 {
    border: 0;
    height: 4px;
    background: #ddd;
    border-radius: 10px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
    width: 100%;

}

.item-categories,
.item-manufacturers {
    color: #666;
    font-size: 15px;
    text-align: center;
}

.list-item-image {
    width: 100%;
    flex: 1 1 50%;
    overflow: hidden;
}

.list-item-content {
    padding: 16px;
    flex: 1 1 50%;
}

.list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item {
    padding: 64px 8%;
    max-width: 1450px;
    width: 90%;
}

.item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    margin-bottom: 16px;
}

.item-title {
    font-size: 48px;
    color: #ff6600;
    margin-bottom: 32px;
}

.item-description {
    margin-top: 32px;
    font-size: 22px;
    color: #666;

}

.item-categories-manufacturers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.item-categories-manufacturers span {
    color: #666;
    font-size: 24px;
}



@media screen and (max-width: 600px) {
    .list {
        grid-template-columns: repeat(1, 1fr);
    }

    .item {
        padding: 64px 0;
        width: 100%;
    }

    .item img {
        height: 450px;
    }
}
