/* cards */

.cards {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1em 1fr 1em 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5em 1em;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    margin: 2em 0 1.5em;
}

.cards .item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100%;
    color: #000;
    background-color: #fff;
}

.cards .item .slider {
    aspect-ratio: 16/9;
}

.cards .item .slider img {
    -o-object-fit: cover;
       object-fit: cover;
}

.cards .item .slider .slider-btn svg {
    width: 1.5em;
    height: 1.5em;
}

.cards .item .text {
    padding: 0 1em 1.5em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    gap: .5em;
}

.cards .item .text .header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: .5em;
}

.cards .item .text .location {
    padding-top: .3em;
    font-size: 12px;
    font-weight: 300;
    line-height: calc(14px+.2em);
}

.cards .item .text .tag {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    padding: .2em 1em;
    color: #fff;
    background-color: #000;
    border-radius: 0 0 3px 3px;
    font-size: 14px;
}

.cards .item .text .title {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    color: #000;
    font-size: 30px;
}

.cards .item .text .params {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr .5em 1fr .5em 1fr .5em 1fr;
    grid-template-columns: repeat(4, 1fr);
    gap: .5em;
    margin: 1rem 0 .5rem;
    color: #828282;
}

.cards .item .text .params .param {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: .3em;
}

.cards .item .text .params .param img {
    -webkit-filter: 
        brightness(0) 
        saturate(100%) 
        invert(54%) 
        sepia(0%) 
        saturate(1352%) 
        hue-rotate(176deg) 
        brightness(89%) 
        contrast(87%);
            filter: 
        brightness(0) 
        saturate(100%) 
        invert(54%) 
        sepia(0%) 
        saturate(1352%) 
        hue-rotate(176deg) 
        brightness(89%) 
        contrast(87%);
    width: 20px;
    height: 20px;
    -o-object-fit: cover;
       object-fit: cover;
}

.cards .item .text .price {
    font-size: 24px;
    padding-right: 1.5em;
}

.cards .item .text .price .equivalent {
    font-size: .8rem;
    white-space: nowrap;
}

.cards .item .like {
    position: absolute;
    bottom: 1.5em;
    right: 1em;
    cursor: pointer;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.cards .item .like.liked path {
    fill: #828282 !important;
    stroke: #828282 !important;
}

.cards .item .like:active {
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
}


.nothing {
    margin-left: 7%;
}

.nothing a {
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-top: 1em;
}


.pages {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: .75em;
    font-size: 12px;
}

.pages a,
.pages span {
    display: inline-block;
    color: var(--color-gray);
}

.pages a:hover {
    color: #fff;
}

.pages .active {
    color: #fff;
}

.pages .page-arrow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 1.5em;
}

.pages .page-arrow::after {
    display: inline-block;
    vertical-align: middle;
    content: "";
    width: 1em;
    height: 1em;
    scale: 1.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M8 12L3 7l1.4-1.4L8 9.2l3.6-3.6L13 7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.pages .arrow_left::after {
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
}

.pages .arrow_right::after {
    -webkit-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
            transform: rotate(-90deg);
}

.pages .disabled::after {
    cursor: not-allowed;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23828282' d='M8 12L3 7l1.4-1.4L8 9.2l3.6-3.6L13 7z'/%3E%3C/svg%3E");
}

.pages .page-dots {
    font-weight: bold;
    padding: 0 5px;
    color: var(--color-gray);
}
