.mmbundle-builder {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 15px 0;
    margin: 10px 0 15px 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
}

/* Constrain to CE column width */
.elementor-widget-wrap .mmbundle-builder,
.elementor-column-wrap .mmbundle-builder {
    max-width: 100% !important;
    width: 100% !important;
}

.mmbundle-builder.mmbundle-duplicate {
    display: none !important;
}

.mmbundle-header h4 {
    color: #059669;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mmbundle-header h4 .material-icons {
    font-size: 20px;
}

.mmbundle-subtitle {
    color: #64748b;
    font-size: 12px;
    margin: 0 0 12px 0;
    transition: color 0.3s;
}

.mmbundle-subtitle.mmbundle-complete {
    color: #059669;
    font-weight: 600;
}

.mmbundle-slots {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mmbundle-slot {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.mmbundle-slot:hover {
    border-color: transparent;
}

.mmbundle-slot-error .mmbundle-select {
    border-color: #ef4444 !important;
}

.mmbundle-slot-label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mmbundle-weight {
    background: #10b981;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
}

.mmbundle-required {
    color: #ef4444;
    font-weight: 700;
    font-size: 11px;
}

#mmbundle-builder select.mmbundle-select,
.mmbundle-builder select.mmbundle-select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    color: #1e293b !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
    appearance: auto !important;
    cursor: pointer;
    transition: border-color 0.2s;
}

#mmbundle-builder select.mmbundle-select option {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

#mmbundle-builder select.mmbundle-select:focus {
    border-color: #10b981 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15) !important;
}

.mmbundle-error {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid #fca5a5;
    border-radius: 6px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
}

/* Cart selections */
.mmbundle-cart-selections {
    margin-top: 6px;
    padding: 8px 0 0;
    border-top: 1px dashed #e2e8f0;
}

.mmbundle-cart-title {
    font-weight: 600;
    color: #059669;
    font-size: 12px;
}

.mmbundle-cart-list {
    list-style: none;
    padding: 4px 0 0;
    margin: 0;
    font-size: 11px;
}

.mmbundle-cart-list li {
    padding: 2px 0;
    color: #64748b;
}

.mmbundle-cart-weight {
    color: #94a3b8;
    font-style: italic;
}

/* ── Dark theme override (only inside mm-product native template) ── */
.mm-product .mmbundle-builder { border-bottom-color: #3d3d55; }
.mm-product .mmbundle-slot-label { color: #d1d5db; }
.mm-product .mmbundle-select {
    background: #0f0f23;
    border-color: #3d3d55;
    color: #e2e8f0;
}
.mm-product .mmbundle-select option {
    background: #0f0f23;
    color: #e2e8f0;
}
.mm-product .mmbundle-subtitle { color: #94a3b8; }

/* Responsive */
@media (max-width: 768px) {
    .mmbundle-slot-label {
        min-width: auto;
    }
}
