.option-dropdown {
    width: 305px;
    display: flex;
    align-items: center;
    position: relative;
    gap: 10px;
    margin-bottom: 10px;
}

.select-display {
    width: 305px;
    padding: 10px;
    height: 35px;
    border: 1px solid #9b9b9b;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 13px;
    line-height: normal;
    display: flex;
    align-items: center;
}

.button-group {
    position: absolute;
    right: -72px;
    display: flex;
    gap: 6px;
}

.btn-add-option,
.btn-remove-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-option {
    background: #17a2d8;
    color: #fff;
}

.btn-remove-option {
    background: #000;
    color: #fff;
}

.modal-item-option {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    width: 92%;
    max-width: 1200px;
    max-height: 85vh;
    background: #fff;
    border: 6px solid #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    background: #3a3a3a;
    padding: 14px 10px;
    text-align: center;
}

.modal-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.modal-subtitle {
    margin-top: 6px;
    font-size: 12px;
    color: #d0d0d0;
}

.modal-body {
    padding: 18px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}

.option-item {
    position: relative;
    background: #fff;
    border: 1px solid #d0d0d0;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    transition: border 0.2s ease;
}

.option-item:hover {
    border-color: #999;
}

.option-item.option_selected {
    border: 2px solid #1e73ff;
}

.option-item::after {
    content: "✓";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #cfcfcf;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-item.option_selected::after {
    background: #1e73ff;
}

.option-item img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    margin-bottom: 10px;
}

.option_name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.option_number {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.option-price {
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.close-btn {
    min-width: 180px;
    padding: 12px 40px;
    background: #4a4a4a;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
}

.close-btn:hover {
    background: #2e2e2e;
}

.modal-body::-webkit-scrollbar {
    width: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #bcbcbc;
    border-radius: 6px;
}

.option-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.input-item-option {
    display: none;
}