/* PRODUCTS */

#mx_webshop_product_related {
    clear: both;
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

.mx_webshop_product_list {
    width: calc(33% - 12px);
    border: 1px #DDD solid;
    text-align: center;
    position: relative;
    background: #fff;
}

/*
.mx_webshop_product_list.latest,
.mx_webshop_product_list.promotion,
.mx_webshop_product_list.related {
    width: 100%;
    margin: 0;
}*/

.mx_webshop_product_list_image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.mx_webshop_product_list_image img {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.mx_webshop_product_list a {
    display: block;
    color: #000;
    text-decoration: none;
}

.mx_webshop_product_list a:hover {
    text-decoration: none;
}

.mx_webshop_product_list_description {
    padding: 10px 20px 60px;
}

.mx_webshop_product_list h2 {
    color: #000;
    padding: 0;
    margin: 0 0 15px;
    font-weight: bold;
    letter-spacing: 0;
    font-size: 18px;
    line-height: 1.4;
    min-height: 52px;
}

.mx_webshop_product_list_description p {
    margin: 0;
    line-height: 1.7;
}

.mx_webshop_product_list_prices {
    position: absolute;
    bottom: 22px;
    left: 0;
    width: 100%;
    padding: 0 20px;
}

.mx_webshop_category_price,
.mx_webshop_category_new_price {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.mx_webshop_category_old_price {
    text-decoration: line-through;
    font-size: 14px;
    font-weight: normal;
    margin-right: 8px;
}

.mx_webshop_category_new_price {
    color: red;
}

.mx_webshop_product_list .label {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    padding: 0 15px;
    height: 40px;
    line-height: 40px;
}

.mx_webshop_product_list footer {
    position: absolute;
    transform: translateY(-50%);
    top: 20%;
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 0 10px 0 10px;
    font-weight:bold;
    overflow: hidden;
    display: none;
    text-align: center;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.7);
    color:#FFFFFF;
}

.mx_webshop_product_list:hover img {
    opacity: 0.6;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.mx_webshop_product_list:hover footer {
    display: block;
    overflow: hidden;
}

/* RESPONSIVE */
@media screen and (max-width: 1023px) {

    .mx_webshop_product_list {
        width: calc(50% - 10px);
    }
}
@media screen and (max-width: 600px) {
    .mx_webshop_product_list,
    .mx_webshop_product_list.category:nth-of-type(3n),
    .mx_webshop_product_list.category:nth-of-type(2n) {
        width: 100%;
        margin: 0 0 30px 0;
        min-height: auto;
    }

    .mx_webshop_product_list_image {
        height: auto;
    }

    .mx_webshop_product_list_description {
        padding: 10px 15px 80px;
    }
    }

/* PROCESS (registration.html.twig / overview.html.twig / payment.html.twig) */
.mx_webshop_process {
    padding: 5px 10px;
    background: #f9f9f9;
    border: 1px #DDD solid;
    color: #777;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    display: table;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
}

.mx_webshop_process ul, .mx_webshop_process li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mx_webshop_process li {
    float: left;
}

.mx_webshop_process a {
    color: #777;
    text-decoration: underline;
}

.mx_webshop_process li:after {
    color: #777;
    padding: 0 10px;
    content: '/';
    font-weight: normal;
}

.mx_webshop_process li:last-child:after {
    padding: 0;
    content: '';
}

/* GENERAL ROWS / INPUT */
.mx_webshop_row {
    display: table;
    width: 100%;
    margin-bottom: 5px;
    padding-right: 15px;
    box-sizing: border-box;
    clear: both;
}

.mx_webshop_row label, .mx_webshop_input {
    display: inline-block;
    float: left;
    box-sizing: border-box;
}

.mx_webshop_row > label {
    width: 40%;
}

.mx_webshop_input {
    width: 60%;
}

.mx_webshop_product_short_description a.more, .mx_webshop_category_short_description a.more {
    background: #f9f9f9;
    padding: 5px 12px;
    font-size: 14px;
    border: 1px #DDD solid;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    cursor: pointer;
    color: #000;
    height: auto;
    text-decoration:none;
    white-space:nowrap;
}

/* RESPONSIVE */
@media screen and (max-width: 767px) {
    .mx_webshop_row > label, .mx_webshop_input {
        width: 100%;
    }
    .mx_webshop_row {

    }
}