.mst-container {
    max-width: 850px;
    margin: 30px auto;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.mst-warning-box {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.mst-header-sticky {
    background: #ffffff;
    padding: 20px;
    border: 4px solid #e91e63;
    border-radius: 15px;
    margin-bottom: 35px;
    position: sticky;
    top: 20px;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.2);
}

.mst-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.mst-stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 26px;
    font-weight: 900;
    color: #e91e63;
}

.mst-message-alert {
    font-weight: bold;
    font-size: 16px;
    padding: 10px 25px;
    background: #fff0f5;
    border-radius: 30px;
    color: #e91e63;
}

.mst-progress-container {
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

#mst-progress-fill {
    height: 100%;
    background: #4caf50;
    width: 0%;
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mst-step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.mst-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e91e63;
    display: inline-block;
    padding-bottom: 5px;
}

.mst-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.mst-option {
    cursor: pointer;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.mst-option:hover {
    border-color: #e91e63;
    background: #fff9fb;
}

.mst-option input[type="radio"] {
    display: none;
}

.mst-option input[type="radio"]:checked + .option-content {
    color: #e91e63;
}

.mst-option input[type="radio"]:checked {
    display: block;
    margin: 0 auto 10px;
}

.mst-item-row-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.out-of-stock-row {
    background: #fafafa !important;
    opacity: 0.5;
}

.out-of-stock-row .name {
    text-decoration: line-through;
    color: #bbb;
}

.out-of-stock-label {
    opacity: 0.5;
    cursor: not-allowed;
}

.out-of-stock-label .item-name {
    text-decoration: line-through;
}

.item-main-info .name {
    font-size: 17px;
    font-weight: 600;
    color: #444;
}

.item-main-info .price {
    color: #e91e63;
    font-size: 14px;
    font-weight: bold;
}

.count-item-dropdown {
    width: 130px;
    padding: 10px;
    border: 2px solid #e91e63;
    border-radius: 8px;
    font-weight: bold;
    color: #e91e63;
}

.choco-mandatory {
    margin-top: 10px;
    background: #fff0f5;
    padding: 10px;
    border-radius: 8px;
    border: 1px dashed #e91e63;
}

.mst-nav {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 2px solid #f5f5f5;
}

.mst-nav button {
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.next-step, .mst-btn-primary {
    background: #e91e63;
    color: #fff;
}

.prev-step {
    background: #f0f0f0;
    color: #666;
}

.mst-btn-primary:hover, .next-step:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

.mst-summary-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #e91e63;
    margin-bottom: 30px;
}

.mst-final-price {
    font-size: 28px;
    color: #e91e63;
    margin-top: 20px;
    font-weight: 900;
}

.ai-box {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #fff;
    border: 2px dashed #ddd;
    border-radius: 15px;
}

#mst-ai-btn {
    background: #673ab7;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}


.step-description {
    margin: -6px 0 22px;
    color: #666;
    line-height: 1.55;
}

.mst-stock-note {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
}

.mst-validation-banner {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 2px solid #c62828;
    border-radius: 9px;
    background: #fff1f1;
    color: #8e1d1d;
    font-weight: 700;
    line-height: 1.5;
}

.mst-field-error {
    background: #fff7f7;
    border-left: 4px solid #c62828;
}

.mst-field-error .fruit-choco-select {
    border-color: #c62828;
    box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.12);
}

.choco-mandatory label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    color: #7a1743;
}

.fruit-choco-select {
    width: 100%;
    min-width: 210px;
    padding: 9px;
    border: 1px solid #d58bac;
    border-radius: 7px;
    background: #fff;
    color: #333;
}

.mst-field-error-message {
    margin: 8px 0 0;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.mst-target-met {
    color: #1b5e20 !important;
    background: #edf8ef;
}

.mst-target-pending {
    color: #b42318 !important;
    background: #fff0f5;
}

.mst-ai-image {
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
    border: 3px solid #e91e63;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
    .mst-container {
        padding: 16px;
    }

    .mst-item-row-new {
        align-items: flex-start;
        gap: 14px;
        flex-direction: column;
    }

    .item-actions {
        width: 100%;
    }

    .count-item-dropdown,
    .fruit-choco-select {
        width: 100%;
    }

    .mst-nav {
        gap: 12px;
    }
}
