.custom-extras {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px !important;
}

.custom-extras h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.extra-qty-row {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 15px !important;
    gap: 12px !important;
}

.extra-qty-row label {
    margin: 0 !important;
    flex: 1;
    font-weight: 500;
}

.extra-quantity-stepper {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e8edf3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.extra-quantity-stepper:hover {
    border-color: var(--momen-green, #8BA446);
    box-shadow: 0 4px 16px rgba(139, 164, 70, 0.12);
}

.extra-quantity-stepper:focus-within {
    border-color: var(--momen-green, #8BA446);
    box-shadow: 0 0 0 4px rgba(139, 164, 70, 0.08);
}

.extra-qty-field {
    width: 60px !important;
    max-width: 60px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.extra-qty-field::-webkit-inner-spin-button,
.extra-qty-field::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.extra-qty-field:focus {
    color: var(--momen-green, #8BA446) !important;
}

.extra-qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #718096;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    position: relative;
}

.extra-qty-btn:hover {
    background: #f7f9fb;
    color: var(--momen-green, #8BA446);
}

.extra-qty-btn:active {
    background: #edf2f7;
    transform: scale(0.92);
}

.extra-qty-btn.extra-minus::after,
.extra-qty-btn.extra-plus::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 20px;
    background: #e8edf3;
    transition: background 0.2s ease;
}

.extra-qty-btn.extra-minus::after {
    right: 0;
}

.extra-qty-btn.extra-plus::before {
    left: 0;
}

.extra-quantity-stepper:hover .extra-qty-btn::after,
.extra-quantity-stepper:hover .extra-qty-btn::before {
    background: #d4dce5;
}

.custom-extras input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer !important;
    margin-right: 8px !important;
    accent-color: var(--momen-green, #8BA446) !important;
}

.custom-extras label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.custom-extras textarea {
    width: 100% !important;
    padding: 12px !important;
    border: 2px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    resize: vertical !important;
}

.custom-extras textarea:focus {
    outline: none !important;
    border-color: var(--momen-green, #8BA446) !important;
    box-shadow: 0 0 0 3px rgba(139, 164, 70, 0.1) !important;
}

#extras-breakdown {
    padding: 15px 20px !important;
    border-radius: 8px !important;
    margin-top: 15px !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    border: 2px solid #ddd !important;
}

#extras-breakdown strong {
    font-size: 16px;
}

@media (max-width: 768px) {
    .extra-qty-row {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .extra-quantity-stepper {
        width: 100%;
        justify-content: center;
    }
}
