/*
 * Vloershop Core — Elementor-productkaart (.vs-elcard).
 * Vlak (geen box-shadow), eigen wrapper-class zodat thema-styling niet botst.
 * Hard-coded kleuren conform spec; accenten overschrijfbaar via Elementor Style-tab.
 */

.vs-elcard {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    overflow: hidden;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease;
}

.vs-elcard:hover {
    border-color: #ddd;
    transform: translateY(-2px);
}

/* Media */
.vs-elcard__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: inherit;
}

.vs-elcard__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Wishlist rechtsboven */
.vs-elcard__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .82);
    border: none;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
    color: #5b6b7b;
    cursor: pointer;
}

.vs-elcard__heart-fill {
    display: none;
}

.vs-elcard__wishlist.is-active .vs-elcard__heart-fill {
    display: block;
}

.vs-elcard__wishlist.is-active .vs-elcard__heart-line {
    display: none;
}

/* Promo-label linksonder */
.vs-elcard__promo {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #002e85;
    background: #f0fdfe;
    border-radius: 6px;
}

/* Info */
.vs-elcard__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    flex: 1 1 auto;
}

.vs-elcard__name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hele kaart klikbaar */
.vs-elcard__name::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.vs-elcard__price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vs-elcard__price-current {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    padding: 10px 16px 10px 12px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: #67a05b;
    background-image: linear-gradient(#89c270, #67a05b);
    border-radius: 20px 0;
    white-space: nowrap;
}

.vs-elcard__price-current sup {
    font-size: .58em;
    font-weight: 700;
    vertical-align: super;
}

.vs-elcard__price-old {
    font-size: 14px;
    color: #9aa3ad;
    text-decoration-thickness: 1px;
}

.vs-elcard__stock {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: #1f2733;
}

.vs-elcard__stock svg {
    color: #42AC6F;
    flex: 0 0 auto;
}

.vs-elcard__type {
    margin-top: auto;
    padding-top: 2px;
    font-size: 13px;
    color: #888;
}
