/* ============================================================
   Sunbound Offer – Category Badge CSS
   ============================================================ */

/* ---- Category Archive Banner ---- */
.sunbound-category-banner {
    background:    linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border:        1px solid #fde68a;
    border-radius: 10px;
    padding:       12px 18px;
    margin-bottom: 20px;
    box-shadow:    0 2px 10px rgba(245,158,11,.15);
}

.sunbound-category-banner-inner {
    display:     flex;
    align-items: center;
    gap:         10px;
    flex-wrap:   wrap;
}

.sunbound-category-badge-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.sunbound-category-badge-label {
    font-weight:  700;
    font-size:    0.95rem;
    color:        #92400e;
    background:   #fef3c7;
    border:       1px solid #fcd34d;
    border-radius: 99px;
    padding:      3px 12px;
}

.sunbound-category-badge-offer {
    font-size:    0.85rem;
    color:        #d97706;
    font-weight:  600;
    margin-left:  auto;
}

/* ---- Per-Product Badge ---- */
.sunbound-product-badge {
    display:       inline-block;
    background:    linear-gradient(135deg, #f59e0b, #ef4444);
    color:         #fff;
    font-size:     0.72rem;
    font-weight:   700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding:       4px 10px;
    border-radius: 4px 4px 0 0;
    position:      absolute;
    top:           0;
    left:          0;
    z-index:       10;
    box-shadow:    0 2px 6px rgba(239,68,68,.3);
}

/* Make product li relative for badge positioning */
.products .product {
    position: relative;
}

/* ---- Mixed Cart Notice ---- */
.sunbound-mixed-cart-notice {
    background:    #fffbeb;
    border:        1px solid #fcd34d;
    border-left:   4px solid #f59e0b;
    border-radius: 8px;
    padding:       14px 16px;
    margin-bottom: 20px;
    font-size:     0.9rem;
    box-sizing:    border-box;
    max-width:     100%;
    overflow:      hidden;
}

.sunbound-mixed-cart-header {
    display:       flex;
    align-items:   flex-start;
    gap:           8px;
    margin-bottom: 10px;
    flex-wrap:     wrap;
}

.sunbound-mixed-cart-header strong {
    color:       #92400e;
    font-size:   0.9rem;
    line-height: 1.4;
}

.sunbound-excluded-list {
    display:     block;
    font-weight: 400;
    font-size:   0.82rem;
    color:       #6b7280;
    margin-top:  2px;
}

.sunbound-mixed-cart-breakdown {
    display:        flex;
    flex-direction: column;
    gap:            8px;
}

.sunbound-breakdown-row {
    display:       flex;
    flex-wrap:     wrap;
    gap:           8px;
    align-items:   center;
    justify-content: space-between;
    padding:       8px 12px;
    border-radius: 6px;
    font-size:     0.85rem;
}

.sunbound-breakdown-eligible {
    background: #f0fdf4;
}

.sunbound-breakdown-non-eligible {
    background: #fafafa;
    color:      #6b7280;
}

.sunbound-breakdown-label {
    font-weight: 600;
    flex: 1;
    min-width: 120px;
}

.sunbound-breakdown-value {
    font-weight: 700;
}

.sunbound-breakdown-discount {
    color:       #10b981;
    font-weight: 700;
    white-space: nowrap;
}

.sunbound-breakdown-no-discount {
    color:      #9ca3af;
    font-style: italic;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .sunbound-mixed-cart-notice {
        padding: 12px 12px;
    }

    .sunbound-breakdown-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .sunbound-breakdown-label {
        min-width: 0;
    }
}

