/**
 * StoreLab - Vendor spotlight
 */

.sl-spotlight-block {
    position: relative;
    display: block;
    overflow: hidden;
    background: #000;
    text-decoration: none;
    user-select: none;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.sl-spotlight-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    pointer-events: none;
    transition: opacity 0.3s;
}

.sl-spotlight-block:hover .sl-spotlight-img {
    opacity: 1;
}

.sl-spotlight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%) !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
    pointer-events: none;
}

/* Base tag settings */
.sl-spotlight-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    align-self: flex-start;
    display: inline-block;
}

/* 1. Classic (White) */
.sl-spotlight-tag--classic {
    background: #fff;
    color: #000;
    border-radius: 4px;
}

/* 2. Modern dark (Translucent Blur) */
.sl-spotlight-tag--dark-blur {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 3. Vibrant pill (Custom background color injected via PHP) */
.sl-spotlight-tag--vibrant-pill {
    color: #fff;
    border-radius: 20px;
    padding: 4px 12px;
}

/* 4. Minimal outline */
.sl-spotlight-tag--minimal-outline {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 4px;
}

.sl-spotlight-name {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

/* --- Mobiele weergave: 2 blokken naast elkaar --- */
@media (max-width: 768px) {
    .sl-spotlight-tag {
        font-size: 10px;
    }
}