﻿

.element-list.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1%;
}


.element-list.grid .element {
    width: 32.6666666%;
    height: 100%;
    font-size: 14px;
    box-shadow: 1px 1px 3px 0px #d1d1d1;
    margin: 0.5% 0;
}

.element-list.grid .element-pic-container {
    padding-top: 66.6667%;
    position: relative;
}

.element-list.grid .element-pic {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}

.element-list.grid .element-pic .swiper-container {
    width: 100%;
    height: 100%;
}


.element-list.grid .element-pic .pic-link {
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.element-list.grid .element-pic .pic-source {
    position: absolute;
    top: 0px;
    left: 0px;
    width:100%;height:100%;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    object-fit:contain;
}


.element-list.grid .element .element-info {
    padding: 24px 16px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.element-list.grid .element .element-excerpt {
    display: none;
}

.element-list.grid .element .element-info-data {
    display: flex;
    justify-content: space-between;
    line-height: 1.6rem;
}

.element-list.grid .element h3 {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.element-list.grid .element .price-section {
    white-space: nowrap;
}

.element-list.grid .element .previous-price {
    display: inline-block;
    white-space: nowrap;
    text-decoration: line-through;
    color: #C00000;
    font-size: 17px;
}

.element-list.grid .element .element-price {
    display: inline-block;
    white-space: nowrap;
    font-weight: 600;
    font-size: 20px;
}


.element-list.grid .element-footer {
    border-top: 1px solid #CCC;
    line-height: 1.6rem;
    width: 100%;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
