/* Codes « Remises par référence » : indication sous la remise + liste des produits éligibles
   (templates/partials/coupon-sku-offer-hint.php). */
.bs-sku-offer-hint {
    position: relative;
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #6B6B6B;
    text-align: right;
}

.bs-sku-offer-hint__text {
    display: block;
}

.bs-sku-offer-eligible {
    display: inline-block;
}

.bs-sku-offer-eligible__toggle {
    display: inline;
    cursor: pointer;
    color: #212121;
    text-decoration: underline;
    text-underline-offset: 2px;
    list-style: none;
}

.bs-sku-offer-eligible__toggle::-webkit-details-marker {
    display: none;
}

.bs-sku-offer-eligible__toggle::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.15s ease;
}

.bs-sku-offer-eligible[open] .bs-sku-offer-eligible__toggle::after {
    transform: translateY(1px) rotate(-135deg);
}

.bs-sku-offer-eligible__panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    right: 0;
    display: block;
    width: 280px;
    max-width: calc(100vw - 32px);
    max-height: 260px;
    overflow-y: auto;
    padding: 12px 14px;
    background: #FFFFFF;
    border: 1px solid #21212114;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(33, 33, 33, 0.12);
    text-align: left;
}

.bs-sku-offer-eligible__title {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #212121;
}

.bs-sku-offer-eligible__list {
    display: block;
}

.bs-sku-offer-eligible__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
}

.bs-sku-offer-eligible__item + .bs-sku-offer-eligible__item {
    border-top: 1px solid #2121210D;
}

.bs-sku-offer-eligible__item a {
    color: #212121;
    text-decoration: none;
}

.bs-sku-offer-eligible__item a:hover,
.bs-sku-offer-eligible__item a:focus {
    text-decoration: underline;
}

.bs-sku-offer-eligible__badge {
    flex-shrink: 0;
    font-size: 11px;
    color: #1F5D3A;
}

/* Page panier : sous la ligne du code, dans .bs-cart-summary__coupons. */
.bs-sku-offer-hint--cart {
    margin: -4px 0 8px;
}

/* Résumé du panier sur fond vert foncé : texte en blanc pour rester lisible. */
.bs-cart-summary .bs-sku-offer-hint--cart {
    color: #FFF;
}
