/* MF Product Bundles - Frontend Styles */

.mf-fbt-section {
    margin: 40px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.mf-fbt-section h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
}

.mf-fbt-products {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.mf-fbt-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    min-width: 120px;
    text-align: center;
}

.mf-fbt-item.main-product {
    border-color: #667eea;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.mf-fbt-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.mf-fbt-item img {
    border-radius: 6px;
}

.fbt-name {
    font-size: 13px;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fbt-price {
    font-weight: 600;
    color: #667eea;
}

.fbt-plus {
    font-size: 24px;
    font-weight: bold;
    color: #999;
}

.mf-fbt-total {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.fbt-total-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
}

.fbt-bundle-price {
    font-size: 28px;
    font-weight: 700;
    color: #22c55e;
}

.fbt-savings {
    color: #22c55e;
    font-weight: 600;
    margin-bottom: 15px;
}

.mf-add-fbt-bundle {
    padding: 12px 30px !important;
    font-size: 16px !important;
}

/* Bundle Contents */
.mf-bundle-contents {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.mf-bundle-contents h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
}

.bundle-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bundle-items-list li {
    margin-bottom: 10px;
}

.bundle-items-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.bundle-items-list li img {
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 600px) {
    .mf-fbt-products {
        flex-direction: column;
    }
    
    .fbt-plus {
        transform: rotate(90deg);
    }
    
    .mf-fbt-item {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
}
