.card-product {
    position: relative;
}

.card-product .discount-tag {
    width: fit-content;
    font-size: 12px;
    color: white;
    background: orangered;
    border-radius: 4px;
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    padding: 2px 6px;
}

.card-product .whislist-tag {
    width: fit-content;
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
}

.card-product .whislist-tag svg {
    color: var(--base-primary);
}

.card-product .card-img-wrapper {
    max-height: 160px;
    max-width: -moz-available;
}

.non-ios .card-product .card-img-wrapper .card-img {
    height: 100%;
    width: 100%;
    min-height: 160px;
    object-fit: cover;
}

.non-ios .card-product .card-img-wrapper.is-chrome {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    border-radius: 4px;
}

.non-ios .card-product .card-img-wrapper.is-chrome .card-img {
    opacity: 0;
    height: 160px;
}

.is-ios .card-product .card-img-wrapper .card-img {
    height: -webkit-fill-available;
    width: 100%;
    min-height: 160px;
    object-fit: cover;
}

.is-ios .card-product .card-img-wrapper.is-chrome {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    border-radius: 4px;
}

.is-ios .card-product .card-img-wrapper.is-chrome .card-img {
    opacity: 0;
    height: 160px;
}

.card-product .card-body .product-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    width: 100%;
    text-decoration: none;
    color: var(--base-black);
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
}

.card-product .card-content {
    display: grid;
    grid-template-columns: 40% 60%;
}

.card-product .card-content .vendor-name {
    font-family: "Source Sans Pro";
    color: var(--base-primary);
    font-size: 10pt;
    line-height: 10pt;
    text-decoration: none;
    clear: both;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-product .card-content .city-name {
    font-family: "Source Sans Pro";
    color: var(--base-black);
    font-size: 10pt;
    line-height: 10pt;
    text-decoration: none;
    font-weight: bold;
    clear: both;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-product .card-content .product-price {
    font-family: "Source Sans Pro";
    color: var(--base-black);
    font-weight: 600;
    font-size: 11pt;
    line-height: 11pt;
}

.card-product .card-content .product-price.discount {
    color: var(--base-gray-dark);
    text-decoration: line-through;
    font-size: 9pt;
    line-height: 9pt;
    font-weight: normal;
}

.card-product .tag-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40%, auto)) 25px;
    gap: 8px;
}

.card-product .tag-content.tag-4 {
    grid-template-columns: repeat(auto-fit, minmax(25%, auto)) 25px;
}

.card-product .tag-content.tag-3 {
    grid-template-columns: repeat(auto-fit, minmax(30%, auto));
}

.card-product .tag-content.tag-2 {
    grid-template-columns: repeat(auto-fit, minmax(45%, auto));
}

.card-product .tag-content.tag-1 {
    grid-template-columns: max-content;
}

.card-product .tag-content.tag-1 .product-tag {
    padding: 0px 8px;
}

.card-product .tag-content .product-tag {
    font-family: "Source Sans Pro";
    color: var(--base-gray-dark);
    font-size: 8.5pt;
    border: 1px solid var(--base-gray-dark);
    padding: 0px 2px;
    border-radius: 4px;
    text-align: center;
}

@media (max-width: 767px) {
    .card-product .card-img-wrapper {
        max-height: 160px;
        max-width: fit-content;
    }

    .card-product .card-img-wrapper.is-chrome {
        max-height: 160px;
        max-width: fit-content;
        min-height: 160px;
        min-width: 100%;
    }
}