/* =========================================
   Product Labels – badge styling
   ========================================= */

/* Container: stack labels horizontally */
.af-product-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    pointer-events: none;
}

/* Single label badge */
.af-product-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: auto;
}


/* =========================================
   Context: Archive / Loop cards
   (.af-product-card)
   ========================================= */
.af-product-card {
    position: relative;
}

.af-product-card .af-product-labels {
    top: 8px;
    left: 8px;
}


/* =========================================
   Context: Most Sold Products slider
   (.db-most-sold-card)
   Labels verschijnen naast de "Meest gekocht!" badge
   ========================================= */
.db-most-sold-card {
    position: relative;
}

.db-most-sold-card > .af-product-labels {
    position: static;
    align-self: flex-end;
    margin-bottom: 8px;
    pointer-events: auto;
}

.db-most-sold-card > .af-product-labels .af-product-label {
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 8px;
}


/* =========================================
   Context: Single Product upsells
   (.af-card)
   ========================================= */
.af-card {
    position: relative;
}

.af-card > .af-product-labels {
    top: 8px;
    left: 8px;
}


/* =========================================
   Context: Single Product pagina
   (.af-single__galleryCard)
   ========================================= */
.af-single__galleryCard {
    position: relative;
}

.af-single__galleryCard > .af-product-labels {
    top: 12px;
    left: 12px;
    z-index: 10;
}

.af-single__galleryCard .af-product-label {
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 8px;
}


/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
    .af-product-label {
        font-size: 11px;
        padding: 4px 10px;
    }
}
