/* Heimdall Intelligent Bundles - Pure UI Ultra-Sleek & Non-Invasive Styles */

.hbd-widget-container {
    margin: 14px 0 0 0 !important;
    display: block !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-family: inherit;
}

.hbd-card {
    background: rgba(253, 241, 242, 0.45);
    border: 1px solid rgba(202, 118, 126, 0.25);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.hbd-card:hover {
    border-color: rgba(202, 118, 126, 0.45);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.hbd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.hbd-badge {
    background: #FCE7F3;
    color: #9D174D;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.hbd-savings {
    background: #DCFCE7;
    color: #15803D;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.hbd-title {
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.hbd-items-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.hbd-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.hbd-item-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.hbd-item-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hbd-item-name {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.hbd-item-price {
    font-size: 10px;
    font-weight: 700;
    color: #64748B;
}

.hbd-plus {
    font-size: 13px;
    font-weight: 800;
    color: #CA767E;
    flex-shrink: 0;
}

.hbd-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(202, 118, 126, 0.2);
}

.hbd-pricing {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hbd-old-price {
    font-size: 11px;
    color: #94A3B8;
    text-decoration: line-through;
}

.hbd-offer-price {
    font-size: 15px;
    font-weight: 800;
    color: #CA767E;
}

.hbd-discount-pill {
    background: #FFE4E6;
    color: #E11D48;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
}

.hbd-add-btn {
    background: #CA767E;
    color: #FFFFFF;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hbd-add-btn:hover {
    background: #B85F67;
    transform: translateY(-1px);
}

.hbd-add-btn.loading {
    opacity: 0.8;
    cursor: wait;
}

/* Tabs & Multi-Option Styles */
.hbd-tabs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.hbd-tabs-label {
    font-size: 10px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hbd-tabs-pills {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hbd-tabs-pills::-webkit-scrollbar {
    display: none;
}

.hbd-tab-btn {
    background: #FFFFFF;
    color: #475569;
    border: 1px solid #CBD5E1;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hbd-tab-btn:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
}

.hbd-tab-btn.active {
    background: #CA767E;
    color: #FFFFFF;
    border-color: #CA767E;
    box-shadow: 0 2px 6px rgba(202, 118, 126, 0.3);
}

@media (max-width: 640px) {
    .hbd-items-wrapper {
        flex-direction: row;
    }
}
